LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to give SCPI commands to the multiple channels of a power supply simultaneously using VISA functions in labVIEW?


@divb wrote:

Thank you, but my power supply is showing lag while switching channels. It is not able to change values with the same speed as labVIEW is processing. Any idea on how I can increase the speed of channel switching in my power supply PSD7303A?

In case of very small rate like Rate=2, there is no lag, but  beyond it lag is increasing with rate.


You have less of a problem than you think.

 

Let's talk about the physical layer of the communications.  NI VISA is calling a Serial Device on a Universal Serial Bus (USB Port)  that means each BIT of every command string must be transmitted in order one at a time PLUS start and stop Bits framing each BYTE.  The speed of that data transfer is measured in "Baud."  Baud Rate is generally set from the device system menu and should match the Baud Rate setting in your LabVIEW Driver Init.vi.

 

The manual and datasheet for that "El Cheapo" power supply wannabe are silent about supported data bus speeds.  Call them and see what is really available and when a firmware update will be ready to automatically detect Baud rate.  (Hint: the FW developer should have known how to code that or been fired in the first place)


"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 11
(209 Views)