Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Daytronic 4077 serial rs232 to usb

I was wondering if anyone has ever had issues with the driver for the Daytronic 4077 strain gage controller.  I keep having the same error pop up in LabView 2015 which says: 

 

"Serial port initialization failed.  Check error codes on panel of "Serial Port INIT" VI."  

 

I have tried using a RS232 to usb connection I know works with a multimeter I am currently using on my computer.  I am running a laptop with Windows 10 as the operating system.  I thought the driver may not have been updated for the most current version of windows, so I found an older laptop with Windows 7.  I still ended up getting the same error using this older machine.  The error code 1073807302 is the error code which pops up and doesn't matter which VI I am running from the driver download.

 

I am wondering if anyone has anyother ideas on how to fix this problem.  Thanks for the help.

0 Kudos
Message 1 of 4
(3,318 Views)

Hello,

 

Have you tried running Simple Serial.vi from the LabVIEW shipping examples to ensure that your device is connected properly? 

 

Since NI does not certify that driver, there is not much we can do. You may want to contact Daytronic about this error. You could try programming your device with NI-488.2 and NI-VISA. 

Maggie M.
Application Engineer
National Instruments.
http://www.ni.com/support
0 Kudos
Message 2 of 4
(3,284 Views)

I downloaded and checked the driver by looking at it.

It probably is developed by somebody that just learned LabVIEW in 1993 and stopped learning.

It is very complex (what is not necessary) and seems to be adapted from the very old school serial driver before VISA was the way to go.

What is the errormessage you get? What is visible on this serial init.vi after running the system.

To see this you should open his vi before running your program.

You can also try to follow the system in debug mode. It takes a few minutes but then you know where the init goes wrong and maybe even why.

greetings from the Netherlands
0 Kudos
Message 3 of 4
(3,278 Views)

If you don't have a set of hundreds of complex commands (which I don't expect from a strain gauge) try looking up the commands from the manual and send them over serial port. There are ways to do that easily if we know what serial commands to send and what to expect. Do you know the commands? Have you tried using Putty to make sure that you can exchange basic commands with your instruments over the serial port? I wanted to take a look at the manual, but it doesn't allow me to download it without opening an account.

Certified LabVIEW Architect (CLA), LabVIEW 2015.
0 Kudos
Message 4 of 4
(3,174 Views)