08-03-2017 09:05 AM
When I try to run it it always lists the errors I told you. How can i include these libraries you use i maybe not use?
I don't want to change anything in the code which is not necessary.
So you think if i can include the SubVI's for the CAN and DAQ it will run without problems?
BTW I don't understand how i can add these VI's.
I'm so thankful for your help and I hope I don't sound to stupid.
08-03-2017 09:22 AM
" How can i include these libraries you use i maybe not use?"
I don't use those libraries.
You certainly need those other drivers and libraries.
I do not have those drivers/libraries and I can't investigate your VI any more without them. I am not about to install libraries on my PC that I don't need. And even if I did, I'd still would not be able to run your VI because I don't have that hardware. The only benefit to me would be to see if I have any issues with subVI linkages and datatypes to help you solve your problem.
If you don't have these libraries, you need to download and install them. Where you get them from, I don't know. NI-CAN you should find on the NI website. EasyIO stuff, I've heard of it before, but I don't know who manufactures that DAQ hardware. So check with the manufacturer of whatever DAQ hardware you are using.
08-03-2017 12:41 PM
RavensFan,
Thanks for the Clarification. I was basing my statement on what I found (maybe reading "too casually" on the Forum ...).
BS
08-03-2017 12:50 PM
@RavensFan wrote:
Nothing about reentrancy or wrong wire data types. So perhaps those errors are occurring in the libraries you are using that I don't have.
Given his description, I'd wager he's copy/pasting code rather than opening these VIs. If that's the case, I wouldn't expect re-entrancy settings to match and that could throw the error he's seeing. You wouldn't run into the same error by simply opening the VI as those settings are already in place. But, that's just my guess.
As far as the NI-CAN and DAQ vis, you'd want to install both of those drivers (you can find downloads either through ni.com/downloads or by using google). If there's a library built on top of those (sounds like the EASYIO library), you'd need to find out who built that library and get the library that way or find where it's stored on the 7.1 machine and copy it over.
08-08-2017 10:13 AM
Today I installed DAQmx and NI-CAN, but nothing changed.
I still have no clue what to do now, because I have no one to help me and i don't know how to fix it.
But I don't understand what to do with EasyIO. If someone knows what to do can you give some step to step instruction how I can fix my problems?
Addition to my hardware: I have an NI PCI-MIO-16E-1
I also have an PCAN-PCIe_FD from PEAK-Systems
but my prof said, the CAN is not interesting at the moment and it's more important that the rest will run.
Thank you guys for your help.
08-08-2017 11:00 AM
Hi Student,
i don't know how to fix it.
Installing DAQmx is just the first step.
Now you need to recreate (or: replace!) all this old traditional DAQ stuff using DAQmx functions - from scratch!
I have an NI PCI-MIO-16E-1
Wow, they are old! (But I still use some of them with DAQmx functions…)
I also have an PCAN-PCIe_FD from PEAK-Systems
Then ask Peak for a new driver library, NI-CAN will not work with Peak hardware!
08-08-2017 11:38 AM
Unfortunately there is no easy fix for you. Your old PCI-MIO DAQ card is not compatible with any modern NI-DAQmx version (< 9.5.1) which, in turn is not compatible with LabVIEW 2015 which only works on OSes later than Windows Vista. So basically, using that card with Win 7, 8 or 10 running LabVIEW 2015 is not an option (although you might get something working with WinXP IF you're very lucky).
http://www.ni.com/product-documentation/6910/en/
http://www.ni.com/product-documentation/53409/en/
http://www.ni.com/product-documentation/53326/en/
http://www.ni.com/product-documentation/53327/en/
You best choice is to buy a new DAQ card (X-series) and put it in a PC with Win7, 8 or 10. Then install modern LabVIEW and DAQmx. Then... Study enough NI-Traditional DAQ to understand what the old code was doing and re-factor it into a modern DAQmx version.
I realize this is not what you wanted to hear. On the bright side, if you're a student and your school is willing to pay for upgrading NI software and hardware you might get a NI engineer to help you work through the re-write. I haven't looked at your code yet but if you can fund the upgrades many here will be willing to give advice and help you along. There is also the option of hiring NI or an Alliance Partner to do the work or as a consultant to teach you how.