Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR -107 400 1665

Hello

 

I have already solved the missing last value.

The subvi also got faster and more readable.

 

I tried to find the NOP? command but did not find it. It suggests number of operations but maybe it is not needed.

 

I did not solve the output of the for loop, Now you only have the last measured registers.

 

 

 

greetings from the Netherlands
0 Kudos
Message 11 of 15
(641 Views)

Hello Albert,

 

Thank you very much for your efforts and for providing me the code.

 

I think I found a way to store whole data in a 1D array without using a For loop. A command called "Delimited string to 1D string array" reads the whole string and saves the data to an array without the use of a For loop. However, I need to test it with the instrument and it is only possible after the weekend.

 I will let you know if it works.

 

Please have a look at this command in the screenshot.

 

Best Regards,

Harpreet

0 Kudos
Message 12 of 15
(636 Views)

Screenshot 2024-01-13 185037.pngHello

If you look at the lowest level of Read Register data.vi you will see the same approach.

Now with LabVIEW primitives.

 

greetings from the Netherlands
0 Kudos
Message 13 of 15
(629 Views)

Hello Albert,

 

I tried your suggestion and the program is working fine now without any error.

I am also able to retrieve data without the use of a For loop.

 

Thank you very much for your help otherwise it won't be possible for me to solve this issue in this short time.

 

Best Regards,

Harpreet

0 Kudos
Message 14 of 15
(596 Views)

Congratulations.

Glad I could help a bit.

greetings from the Netherlands
0 Kudos
Message 15 of 15
(588 Views)