06-29-2007 06:17 AM
07-02-2007 05:20 AM
07-02-2007 05:30 AM
07-02-2007 06:11 AM
07-02-2007 07:17 AM
07-02-2007 11:58 AM
Hi Rob
Making some progress.
On the PXI machine, that came pre-installed with the lasted MAX, NIDAQMX, Traditional NIDAQ 7.4 and NI 4350 2.5.2 the VB sample applications were missing, so I tried to use the supplied driver CD which is only 2.5 (Hmm nice one) I could not install the samples, so a couple of hours later after downloading the install app for 2.5.2 I managed to install the VB sample applicaitons and CVI applications for the PXI 4351 card.
Good news first.
When I create an executable from VB6 of any of the NI supplied sample VB applications I can run the applications from the command line,
Now the bad
but when attempting to run from VB6 debugger ie single stepping thru any of the same NI supplied VB apps I get a file not found error ni435x_32.dll. (I should point out I have been programming low level C,C++ etc on a DOS, Windows, DSP platform for 20 years at this point) the dll is definately in the path, to make sure I coppied it everywhere including the directory where VB itself lives. This is really odd becuase when I install 2.5.0 on my laptop (with no prior version of MAX, NI etc etc) I can single step through the code. Obviously it fails when it gets to the point where it cant find the hardware.
I get the impression NI are in a real crisis with drivers at the moment! Just curious but why havent NI produced an MX driver for the 4350 product line?
Anyway, the VB sampls I can get to work even if I cant debug it. The values I get back from the card are sensible, in fact quite good temperature measurements.
I dont have lab windows CVI, what I really need is a VC++ 6.0 sample application, I am not sure what libs to include since this information is hidden in the CVI .PRJ file. Can you provide me with one?, or have a chat with an application developer who has programmed the 4350 using Visual C++ 6.0 who might be able to give me a few pointers?
Thank you so much for your help and being interested.
Andy
07-03-2007 11:01 AM
Hi Andy,
I'm glad you are making some progress on your acquisition, I'll try to address the
comments and questions raised in your last message. Firstly, the problem you
are experiencing with the VB6 examples has been experienced before. The
following link will take you to an article which I think may help you rectify
the problem. Though, I am not totally sure because you have clearly tried to
place the .dll's in the paths being asked for. However, the problem arises
from the CVI support not being installed correctly, and the linked document
will talk you through this.
http://digital.ni.com/public.nsf/allkb/B53F3D5ADCFF287B86256869006EF6A9?OpenDocument
With respect to the driver CD you had with the device, unfortunately, because
this is one of our older products, it had not been packaged with the later
driver CD hence why you received the older one in the package. The reason
there is no DAQmx driver for the NI 4350 is that this has become quite a niche
product and has been recently marked for obsolescence. Currently, the inherent
structure of the device does not allow communication with a DAQmx driver and
therefore would require hardware updating and a new driver to be developed. I
apologise for the
inconvenience caused by this for you but I hope you can appreciate the
circumstances regarding this specific device
With regards to the VC++ example you need, I apologise once again that there are no
specific examples available, but I will be happy to dig out the project files
here if you let me know the examples which would be of use to you.
I hope this information is of use to you.
Best wishes
07-03-2007 11:20 AM
07-03-2007 11:27 AM
08-09-2007 07:30 AM