PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Serial Comm Port of PXIe8135 RT in Veristand

Solved!
Go to solution

I have signals that need to be sent and received over serial port to ECU from PXI. I dont have any serial card, how can use serial port in Veristand the way I use other IO channels to connect to system definition channels? PXIe Controller I have is 8135 RT. The signals are for simulating GPS data.

0 Kudos
Message 1 of 11
(3,491 Views)

VeriStand doesn't provide any serial communication feature.

You should develop your own Custom Device.

 

PXIe-8135 has USB port so I guess you don't need to purchase new card.

Using Serial to USB converter is cheaper.

http://www.ni.com/tutorial/9348/ja/

NI VeriStand 2010 Custom Device Developer’s Guide (Beta)

NI VeriStand カスタムデバイス開発マニュアル (This is written in English)

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 2 of 11
(3,476 Views)

Hi Emboar,

 

Thank you for the information.

Right now I am trying to use custom device approach. Found below package from github:

https://github.com/NIVeriStandAdd-Ons/Instrument-Custom-Device

With this I can use readily available custom device. The problem I am facing with this is compiling the code in LabVIEW (may be because of evaluation version, but it seems there is workaround in eval version as well as described in error snapshot).

Also, I will try using the option you gave below (USB to Serial). Can I use this USB port directly from Veristand to connect system definition channel the way we use other IO cards?

 

0 Kudos
Message 3 of 11
(3,472 Views)
Solution
Accepted by Rohit@NI

Yes, it seems that the error you are facing is caused by evaluation version.

 

If you develop Custom Device (CD), you can directly handle USB port.

Before starting to develop CD, you should try in LabVIEW. If you achieve what you want in LabVIEW, also in VeriStand.

LabVIEW doesn't, VeriStand also doesn't.

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
Message 4 of 11
(3,465 Views)

Thank you for this information.

I never used USB port over PXIe RT Controller before. Are there any available examples? 

0 Kudos
Message 5 of 11
(3,462 Views)

There is no difference with Windows. Just use NI-VISA function in VI.

Have you ever used NI-VISA?

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 6 of 11
(3,441 Views)

No, I haven't. I will find examples and try using.

0 Kudos
Message 7 of 11
(3,433 Views)

Yes, find and try examples on Windows as first step. Then, develop your own CD!

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 8 of 11
(3,388 Views)

Can you share any examples for the same (using NI-VISA function to use USB port of PXI in Labview); if you already have any? 

0 Kudos
Message 9 of 11
(3,381 Views)

The application is easier than you consider.

ex.png

 

 

 

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
Message 10 of 11
(3,374 Views)