VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to log all traffic on a CAN port in VeriStand?

Could you please instruct how to set up a LabVIEW step FTP the files off of the target in order to make them available for analysis in windows? I'm using Max FTP client to transfer files,but it depends on manually click.I'm nou sure what file format I want the files to be saved as,I just want to analyse the files ,maybe put the data into an array so that Teststand can test whether has the number I want. Tnanks!
0 Kudos
Message 11 of 18
(2,658 Views)

You can find an example of programmatically FTPing in this KnowledgeBase

Miles G.
National Instruments
Staff Applications Engineering Specialist
0 Kudos
Message 12 of 18
(2,639 Views)
Thanks for your patient answer!I can solve the problem that uploading files from remote system.But I don't konw how to analyse the logging files in my local computer whose format are .ncl with Teststand.I just need the data in the frame . For example, I want to find whether the data in the frame has the code "22 01".I'm using teststand 2014. Looking forward to your reply!
0 Kudos
Message 13 of 18
(2,621 Views)

Are you using NI-CAN or the NI-XNET driver? I usually expect ncl files to be associated with NI-CAN applications. This document can give you some more information about how to intereact with .ncl files.

Miles G.
National Instruments
Staff Applications Engineering Specialist
0 Kudos
Message 14 of 18
(2,600 Views)
I'm using NI-XNET driver to send and receive CAN frames,also log them.In my opinion, I want to use Labview to exteact the data from the NCL files and put them into an array.Then teststand can call the Labview VI and get the array.
0 Kudos
Message 15 of 18
(2,587 Views)

NCL files are binary files so they will not be human readable. What data are you trying to pull out from them? Depending on what you are trying to extract you may be able to use the specifications in the document I linked in my last post. An alternate option is logging to a TDMS file. Finally, since you are using VeriStand you may be able to use this add-on in order to interpret the files. 

 

Do you think any of these would suit your needs?

Miles G.
National Instruments
Staff Applications Engineering Specialist
0 Kudos
Message 16 of 18
(2,576 Views)

Hi @blackburnite

I would be interested in the logger for CAN to mf4/asc.

Would it be possible to the the custom device?

 

Best regards 

0 Kudos
Message 17 of 18
(797 Views)

I can look to see if I still have that code, but I haven't used it essentially since 2015 so no promises and for sure it will be an "as is" code drop.  I can't support it much.



I saw my father do some work on a car once as a kid and I asked him "How did you know how to do that?" He responded "I didn't, I had to figure it out."
0 Kudos
Message 18 of 18
(784 Views)