Discussion:
Labview 6 arbitrary function generator file format?
(too old to reply)
Torsten Fregin
2008-08-07 15:40:08 UTC
Permalink
Hi,
 
I have old hardware (e.g. DAQcard1200) which I have to use with old versions of Labview (4 or 6) (as they run on "old" hardware - Pentium1 embedded boards with Win98 etc.). With Labview 8 I can load a file in .lvm format and use it as output for A0. But how is this with the "arbitrary function generator" from Labview 6 (benchtop.llb)? I constructed an arbitrary function manually within the vi and saved it to a file, but its format does not make sense - only "strange" characters are displayed, like d?¾ ?£¾?t÷¾ VJ¾? ¾ ñ¾£úD¾ªÛ?¾±¼ë¾¸?, if I open the file with an editor...  
 
Thanks!!
 
;-) Torsten
smercurio_fc
2008-08-07 16:10:08 UTC
Permalink
I don't have LabVIEW 6.1, but if the example hasn't changed, then that example writes out a binary file, which is why you get all those "strange" characters. The file should be an array of SGL values. Thus, you can read it into LabVIEW using the Read From Binary File, and wiring an SGL constant to the "data type" input.


Example_VI_BD6.png:
Loading Image...
Dennis Knutson
2008-08-07 16:10:08 UTC
Permalink
It seems that the file is a binary format. LabVIEW 6 is old and I don't have a copy. I also don't remember ever using benchtop.llb. could you just post it? From the diagram, it should be possible to see how the file write is being done and doing a file read should then be trivial.
Torsten Fregin
2008-08-07 16:40:08 UTC
Permalink
Thanks for the help, I should have looked myself in first place... The "Arbitrary Waveform Generator"  calls the "Write to SGL File.vi"...  I'm getting old... Well, hopefully I find my way to paste data from spreadsheets soon...
 
 

Loading...