Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8705297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:19:34+00:00 2026-06-13T03:19:34+00:00

When I write software to control Zaber devices, I sometimes get strange behaviour that

  • 0

When I write software to control Zaber devices, I sometimes get strange behaviour that I don’t understand. Usually it’s caused by bugs in my script or other software, and sometimes it’s a hardware problem like a loose connection on the serial port.

How can I see exactly what commands my software is sending and how the device is responding? I’d like a kind of log file that I can search through to see what’s causing the errors.

Most often, I’m writing scripts in Zaber Console using C#, but I also write LabVIEW VIs using the Zaber instrument driver.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T03:19:36+00:00Added an answer on June 13, 2026 at 3:19 am

    There are several techniques to see the raw data being sent to and received from Zaber devices. Some are restricted to certain operating systems, others only work with some software. Most of the options involve looking at the raw data, so look in the user manual for details about the message format, and a list of command numbers.

    Below, I’ll try to list a few options and tell you when they are available.

    Zaber Console Log Window

    Only in Zaber Console, only on Windows.

    This is the easiest technique if you are using Zaber Console scripts or plug ins. The window in the top-right corner records all the requests and responses for you. You might find it easier to track down the problem if you clear the window just before the problem occurs, and stop the script right after. One shortcoming is that some corrupted messages are not shown, you just see a partial packet timeout error. If the messages you want are getting scrolled off the top, change the log size on the advanced tab.

    Portmon

    Only on 32-bit Windows.

    Portmon was a great tool, and I’m sad that it never got upgraded to 64-bit Windows. If you’re still running a 32-bit version of Windows, it’s worth trying. I found that the latest version 3.03 didn’t work for me, but 3.02 still does. If the official version doesn’t work, then searching for "portmon 3.02" will usually find some site that carries the old version.

    • In version 3.02, open the Computer menu and choose Connect Local.
    • From the Capture menu, choose Ports: COM1, or whatever serial port you want to connect to. Make sure your software is currently closed, or Portmon won’t be able to connect to the serial port. Sometimes after using Portmon, you have to restart the computer to make it release the serial port.
    • From the Edit menu, choose Filter/Highlight… and set the Include to be IRP_MJ_READ;IRP_MJ_WRITE
    • On the Options menu, enable Show Hex and Clock Time.
    • Try sending some commands from your software, and then look at the Portmon window. You should see something like this after you widen the Other column.

    Portmon screenshot

    In the screenshot you can see two commands being sent (1 block of 6 bytes for each command), and two responses coming back (6 blocks of 1 byte for each response). Remember that the display is using hexadecimal numbers, so the first command is 14 hexadecimal or 20 decimal (move absolute).

    HHD Serial Monitor

    The best replacement I’ve found for Portmon is HHD Serial Monitor. It’s not free, but it has a trial period, and the license is pretty cheap. I think it might be more powerful than Portmon, but it’s not as easy to use.

    Here are the settings I found to be useful for logging Zaber device commands. After installing and starting the Device Monitoring Studio, I clicked on the serial port I want to monitor in the list of ports. That opens a list of available views, and I double click on Request View. On the right-hand side, I click the Start button. That opens the request view, and I click on the Complete tab.

    Now when I send some commands to the device, I see read and write requests with hexadecimal and text display of the data. Here’s the equivalent of the Portmon screenshot above.

    HHD Serial Monitor screenshot

    Again, the first command is 14 hexadecimal or 20 decimal (move absolute).

    NI Spy or NI I/O Trace

    Available with LabVIEW

    This option isn’t as easy to read, but it comes with LabVIEW, and you can read the documentation on how to start it. Here’s a screenshot of the NI Spy tool. I think it came with older versions of LabVIEW.

    NI Spy screenshot

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to write software that will do a lot of math. Mostly it
I'm trying to write a piece of software that will take values from an
I am testing the behaviour of some client software, and need to write some
I'm trying to write a software that transfers a file from the server to
I write software for the disabled. One of the problems is difficulty tracking the
Whenever I write shell scripts (mostly software development utilities or build tools) I've generally
i am trying to write a thesis about Software Test Automation. I plan to
I'm trying to write a script which checks for prerequisite software in Ubuntu and
When I start any application, that I wrote with python for my Nokia 5800(software
I'm interested in writing certain software that uses machine learning, and performs certain actions

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.