LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB data into text file

Hi GerdW

I have down converted to 2017 attached

 

regards

 

Trevor

0 Kudos
Message 11 of 20
(1,273 Views)

Hi Trevor,

 

try this:

You still need to improve the error handling, I just made the most iportant changes…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 20
(1,267 Views)

Hi Gerdw

 

Can I convert to LabVIEW 2020? or is it just a picture file?

 

regards

 

Trevor

 

 

 

 

0 Kudos
Message 13 of 20
(1,262 Views)

Hi Trevor,

 

it's a snippet.

Read the LabVIEW help on "snippets"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 20
(1,257 Views)

Hi GerdW

 

I got so far but cannot find the text mnemonic attached to the "end" control on lh side  and the "arrows" at the rh side of the loop box? Are these some type of data converters?

 

Regards

 

Trevor

0 Kudos
Message 15 of 20
(1,256 Views)

That is called Set File Position.

 

If you don't know about Shift Registers, then I suggest you take some LabVIEW tutorials.

 

 

0 Kudos
Message 16 of 20
(1,249 Views)

Hi RavensFan

 

Is that what the missing mnemonic is? I tried searching bu cannot find the symbol?

My knowledge of shift registers is mainly from IC logic.

I will do a course but I am using an evaluation version at present to see if it will work correctly for what we require.

 

regards

Trevor

 

 

 

 

 

0 Kudos
Message 17 of 20
(1,244 Views)

I don't know why you are calling it a mnemonic.  It is a VI.

 

Yes, that is the one you are missing.  Right click the block diagram  File I/O  >> Advanced File Functions.

 

For tutorials,
LabVIEW Introduction Course - Three Hours
Learn LabVIEW

 

A shift register is a special pair of tunnels that takes a value and returns it to the beginning of the loop for the next iteration.  Right click on a tunnel to change among its various modes.  A related entity that can often be used with much of the same functionality is a Feedback Node.

0 Kudos
Message 18 of 20
(1,242 Views)

Thanks for the pointer to the VI

 

It now works as I need with the help from GerdW.

 

All I need now is a way to start to reading data when input string is greater than zero. 

Basically, start the sequence and capture/count up and collect data from the first string received that is not zero.

 

Any suggestions?

 

Regards

 

Trevor

0 Kudos
Message 19 of 20
(1,232 Views)

The suggestion is to code exactly what you said.

 

Comparisons, case structures, .....

 

Time to take those tutorials.

0 Kudos
Message 20 of 20
(1,220 Views)