NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can TestStand open, read, write and close binary files?

From a TestStand sequence, I need to open, read, write and close binary files. Does TestStand support this capability?
0 Kudos
Message 1 of 5
(4,317 Views)
Hi Christine,

You will need to use one of the Adapter type such as LabVIEW / CVI /dll etc. to perform the tasks you need to do. Then generate the code modules in your chosen language to perform the tasks.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 5
(4,317 Views)
Christine -
In the past I have used the C/C++ Adapter to call directly into the CVI RTE functions. The CVI functions I have used are OpenFile, WriteFile and CloseFile. The functions are exported from the DLL as CVI_OpenFile, CVI_WriteFile, and CVI_CloseFile. I just had to make sure that on termination of the sequence, that the integer handle was properly released by calling the close function.

If you are using LabVIEW, you could call directly into the low level VIs to do a similar set of operations.

Scott Richardson (NI)
Scott Richardson
https://testeract.com
0 Kudos
Message 3 of 5
(4,317 Views)

Dear All,

   how I can read generated report.dat file 

0 Kudos
Message 4 of 5
(3,796 Views)

Cat Frustrated confused cat is confused Cat Frustrated

CTA, CLA, MTFBWY
0 Kudos
Message 5 of 5
(3,788 Views)