10-24-2016 10:57 AM
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.
10-25-2016 09:11 AM
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.
10-25-2016 12:19 PM
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.
11-06-2016 05:27 PM
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.