Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

whats is the encoding technique used on .nitrace file format?

Solved!
Go to solution

I am working on a data acquisition project where i need to read the .nitrace file created by NI I/O trace directly(not the exported  .txt file format ) using matlab. when i open the .nitrace file with matlab, I find some  encoded language (attached with the picture) which is not very useful without knowing the encryption technique used in .nitrace file format.

Any leads on this topic is appreciated.

 

Thanks,

Ranjith veeran

0 Kudos
Message 1 of 9
(2,617 Views)

Hi ranjith.muthuveeran,

 

I highly doubt about decoding .nitrace file format. Why not rather save NI I/O trace file into .txt? You even can do it from LabVIEW with NI I/O trace API: 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9MWSA0&l

 

Hope this helps!

Regards

 

Patrik
CTA, CLA
Helping (sharing) is caring!

If the post was helpful - Kudo it.
If the post answered your question - Mark it as Solution.
0 Kudos
Message 2 of 9
(2,570 Views)

As specified,  the tool I am working with is completely developed in  MATLAB platform. Is there any NI trace api available to perform the similar things in matlab ?

0 Kudos
Message 3 of 9
(2,563 Views)

Hi ranjith.muthuveeran,

 

there is no MATLAB API, or any text-language API publicly available for NI I/O trace. The only one you can freely use is the one in LabVIEW.

 

If the file is already outputted in .nitrace format from other LabVIEW application, you should ask the developer of that app to change it for text file format. Otherwise you can then export the .nitrace file manually in NI I/O trace which I believe, is not convenient 

 

Regards,

Patrik
CTA, CLA
Helping (sharing) is caring!

If the post was helpful - Kudo it.
If the post answered your question - Mark it as Solution.
0 Kudos
Message 4 of 9
(2,557 Views)

Thanks for the response. I am trying to resolve the problem by calling IO trace application from matlab and use 'java robot' in matlab to create the .txt file from IO trace.

0 Kudos
Message 5 of 9
(2,553 Views)

Sounds like an idea! 

 

Good luck, let us know, whether it did work out for you.

 

Regards,

Patrik
CTA, CLA
Helping (sharing) is caring!

If the post was helpful - Kudo it.
If the post answered your question - Mark it as Solution.
0 Kudos
Message 6 of 9
(2,550 Views)

Hello patrick,

is there any shortcut key available for exporting text file from IO trace ? 

thanks,

ranjith

0 Kudos
Message 7 of 9
(2,543 Views)