10-05-2014 07:48 AM - edited 10-05-2014 07:50 AM
Hello
I have a PCIe 6537b card
I use Matlab (tried all combinations - 2014a or 2013a, 64 bit or 32 bit)
I use the latest drivers from NI web site
I work with desktop windows 7
I am trying to capture data with NI PCIe 6537b from matlab data acqustion toolbox and get blue screen
I tried in different computers with differnt 6537b cards and always get the blue screen
I am using the following code:
s = daq.createSession('ni');
addDigitalChannel(s,'Digital_
addClockConnection(s,'
s.Rate = 1000000;
s.DurationInSeconds =0.1;
data=startForeground(s);
Thank you for your help!
10-06-2014 09:13 AM
Hello,
Are you able to operate the 6537b from Measurement and Automation Explorer (MAX) without error? If you're not familiar with using MAX to communicate with hardware you can find more information here. Also, do you have any other software, such as LabVIEW, that you could try using the device with? It would be good to see if any call to this device causes problems or only ones made from particular software. Finally, could you let us know what version of DAQmx you have just to be sure?
10-07-2014 07:00 AM
Thank you for the reply!
It works well with LabView, the only problem is with matlab
I use NI-DAQmx14.1 (tried also older versions)
10-08-2014 02:57 PM
If this behavior only appears when running in MATLAB®, it may be best to contact their support or forums to see if they have run into this behavior before.
MATLAB® is a registered trademark of The MathWorks, Inc.