Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Port Communication without VISA

Solved!
Go to solution

Is there any way to communicate to serial port without VISA?

 

The thing is that VISA is required to be installed on deployed machine. It is not appropriate for my customer.

 

Thank you for any help.

0 Kudos
Message 1 of 11
(6,459 Views)

there is a lib, but why is it not appropriate for your customer?

It is for free and is working.

 

You can use the old serial library from before lv7

I tried to find it but did not succeed i 5 minutes

greetings from the Netherlands
0 Kudos
Message 2 of 11
(6,449 Views)

Ludmilla,

 

You can use just the NI-Serial driver.  As long as you only want to do serial communication, this will work.  The advantage of VISA is that you can communicate with it using a number of different protocols, resulting in minimal code rewrite if your system changes.

 

Hope this helps,

 

Jen W

Applications Engineer

National Instruments

ni.com/support

0 Kudos
Message 3 of 11
(6,431 Views)

I would return to the old serial port methods. They are a bit hard to find though. Is someone able to find them (National Instruments/LabVIEW 6/vi.lib/utility/sersup.llb) ?

Good luck

0 Kudos
Message 4 of 11
(6,415 Views)

AFAIK, NI-Serial driver has to be installed somehow on deployed computer?

0 Kudos
Message 5 of 11
(6,413 Views)

It's polite to indicate that you've already asked this question on the LabVIEW forum. It's very annoying to create multiple posts.

0 Kudos
Message 6 of 11
(6,410 Views)

I posted my question in two threads. Both of them are related to my issue. Replies in two threads suggest different approaches, so, probably, it's not bad practice...

Of course, I'm sorry, I didn't notify about asking in second thread.

Guys, please, I deadly need the solution.

0 Kudos
Message 7 of 11
(6,386 Views)
Why would you install the old driver and not the one for VISA? Makes no sense when you said the customer did not want anything else installed. Post to one of the C forums to see what they use.
0 Kudos
Message 8 of 11
(6,377 Views)

Here's a vb option but of course you would need to install the ActiveX control and obtain a license for it as well.

0 Kudos
Message 9 of 11
(6,363 Views)
Solution
Accepted by topic author Ludmilla

You can find Non-VISA Serial Driver placed at:

http://www.mhst.de/downloads.htm

 

Pros:

  • you don't need to install VISA Runtime on a deployed machine. Place one dll (dll is included) into system folder - that's enough.
  • there are several additional functions which VISA doesn't have
  • works reliably

Cons:

  • works for Serial port only
  • uses WinAPI functions

 

0 Kudos
Message 10 of 11
(6,292 Views)