Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting USB to Serial with MCU and LabVIEW

Solved!
Go to solution

So are you saying my device should appear as Com port rather than NI-VISA device in My PC's Device Manager? Because in Labview I'm programming it using VISA.

Actually I did install the driver long ago because I'm working with this device using X-CTU for quite some time as for now. 

About the format/syntax, how do I configure it? I'm not really sure about this.

 

Thanks for the link though. 

0 Kudos
Message 11 of 16
(1,413 Views)

That website seemed to imply that it might be recognized as a COM port. However, if you are communicating using VISA, you will need to assign VISA as the communicating driver. This article details talking to a USB RAW device. 

 

http://digital.ni.com/public.nsf/allkb/E3A2C4FE42D7ED0D86256DB7005C65C9?OpenDocument

 

Try following these instructions to set up your VISA driver for this device. Regarding the syntax, if you have been interacting with the device for a while, you probably already know the correct commands to be sending. This would be found in documentation specific to your device. Since it sounds like there isn't viable communication being established, I think binding the VISA driver to your device might do the trick.

 

Let me know if this helps

 

Luke W

0 Kudos
Message 12 of 16
(1,409 Views)

But if you want to use the serial VISA functions it has to installed as a com port.

 

I don't quite understand how it got recognized as USB RAW in the first place. Did you use the VISA Driver Wizard?

0 Kudos
Message 13 of 16
(1,406 Views)

Yes I used the VISA driver wizard because I got confused whether I have it should appear as COM Post or Ni-VISA device. Well I guess I don't have to do it because I want to use serial VISA in LabVIEW, right?

 

but then how do i change the format/syntax for this device to working properly with the example of Basic Serial Write & Read?  

0 Kudos
Message 14 of 16
(1,402 Views)

Spare me the typo,

 

Yes I used the VISA driver wizard because I got confused whether it should appear as COM Port or NI-VISA device. Well I guess I don't have to do it because I want to use serial VISA functions in LabVIEW, right?

 

but then how do i change the format/syntax for this device to be working properly with the example of Basic Serial Write & Read?  

0 Kudos
Message 15 of 16
(1,399 Views)

I don't know how you would change anything. I don't have the manual for it and you have not attached it or provided a link.

 

I would suggest you first debug communication with a terminal emulation program such as Hyperterminal, Procomm, etc.

0 Kudos
Message 16 of 16
(1,396 Views)