LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I fix the different action between two equipment?

Hello!

I use two equipment (Keithley 2400 and Hp 34401A). However, I have one problem as follows.

1) I set up the trigger time of Keithley 2400 as "1s". To measure some value by Hp 34401A, I set up "Wait until Next ms Multiple" as "1000ms".

2) Keithley 2400 acts exactly with the trigger time, but HP 34401A do not act with 1000ms.

How can I fix this problem?

Thank you!
0 Kudos
Message 1 of 2
(2,136 Views)
Hello KUB,

if you use "Wait until next multiple" with 100ms then your vi will NOT wait for exactly 1sec. It will wait for the next multiple of 1sec, so this might be in 1ms or in 999ms...

Btw. don't you think the block diagram of your vi is a little to big? (just a tiny little bit 🙂
You have the same structures in different places, why don't you make some subvi's of it? For instance the 4 sequences, where you wait and read the Keithley?
In the while loop you create 4 arrays? Why don't you create the arrays with "init array" and write the data to it with "Replace element"? You know how many data point you will acquire... And you may use a FOR loop when you know how many iterations there will be... And again 4 times the same structure...

Best regards,
Gerd
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,129 Views)