04-26-2022 08:19 AM - edited 04-26-2022 08:20 AM
Hello, I am working with CAN and DAQ hardware where the following problem is happening:
The DAQ hardware wouldn't work with Labview 2015 32 bit version so I found out that I could work with them with the 2016 64 bit version
When using the 2016 64 bit program the following error happens: 0x01800 CAN_ERR_ILLCLIENT which wasn't a problem in the 32 bit version
I installed the 2016 32 bit version but only the CAN part works, not the DAQ one..
I have to say that the computer I'm working with cannot be connected to internet, I'm only able to transfer archives from my laptop.
When using the 32 bit version I get the error that Driver support is needed, but I tried other drivers and the problem was the same.
04-26-2022 08:44 AM
What hardware are you using for the DAQ and the CAN? That will help clear up what is supported by what versions of what. Also you should post your code if you can. Is it possible you are closing a reference, or making a reference in a shift register go invalid?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-26-2022 08:57 AM
I put the photos of the hardware that I'm using. For CAN the functions are very basic, like READ, WRITE.
One of the problems that I didn't mention is that in the 32 bit version I used the PCAN_USB.dll library which cannot be used in the 64 bit version, where I'm using PCANBasic.dll
04-26-2022 09:13 AM
Yeah as far as I know PCAN is 32 bit only. I've never personally used these, but you might want to contact the manufacturer if you want to use it on 64 bit. As for the DAQ that is just a connector block not the DAQ card. Still with that DAQ card I'm fairly sure you are using the DAQmx drivers. You can use this chart to figure out what versions are compatible with your version of LabVIEW.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-26-2022 09:15 AM
I'll try to try install different drivers to make it work. Thanks!!
04-27-2022 11:42 AM
Just a question, I am thinking about the problem. The drivers are installed in the computer so, the LabView versions compatible with the drivers should be able to use them right?
I am saying this bc in the NI Package Manager I repaired the 19.6 NI DAQMx Drivers, and if the labview 2016 64 bit version is using those drivers, then the 32 bit version should be able to right?
04-27-2022 12:47 PM
If you have LabVIEW installed (32, or 64, or both), and then you installed DAQmx, or repaired it, then LabVIEW will have the DAQmx palette installed, and you can use the DAQmx functions. Yes version 19.6 of DAQmx should work for LabVIEW 2016.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord