Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

can labview read pg6 binary format

hi, iam currently working with an Optical Spectrum Analyser which, through labview, (i seem to gather) saves the analysis data in binary .PG6, will i be able to load this daved data into labview, am i correct in assuming that labview use tdms format? i am relatively new to LabView so anyhelp will be greatly appreciated, thank you very much

 

asiri  

0 Kudos
Message 1 of 3
(3,392 Views)

I have no idea what pg6 format but if you have a VI that reads from an instrument and then saves a file in specific format, then you should be able to determine the details of that format and read the file back. If the VI is reading data from the instrument, you already have it and don't even need to write/read a file. LabVIEW is a programming language and while tdms is one format that it supports, you can read/write anything you want as long as you know the details.

 

It would help if you could provide details on the instrument and the code you are using.

Message 2 of 3
(3,388 Views)

hi, thanks that did clear up some stuff for me, i am using a Yokogawa AQ6370 Optical spectrum analyser and their provided VIs. i have been discussing with a person more familiar than me with labview and he suggested saving the optical spectrum data in a spread sheet and using this later on for the manipulation i need. Currently this is the best option for me as i am only taking a single optical spectrum measurement (in the testing stage), however later on in the stage i will have multiple optical spectrums and will need to save and recall these, is there a way to save this 3D matrix and recall the specific spectrum?

 

thanks again

 

asiri

0 Kudos
Message 3 of 3
(3,383 Views)