06-20-2006 10:43 PM
06-22-2006 03:21 PM
Hi Glenn_United_Pumps,
The error that you are getting is a time-out error. The problem comes from inability to send the triggers between the DMM and the switch module for sending and receiving data. In order for the triggers to be read, the modules either have to be plugged in the same chassis segment (share the same bus) or they have to have specifically defined trigger lines in MAX across different chassis segment. Currently, the DMM (being in slot 12) is plugged into chassis segment 2, where as the switch module is in segment 3. Therefore, the trigger are not being send/received between the DMM and the switch. Just move the DMM to any of the slots 13-18 and the example should work. Each of the segments are labeled with a small line on the face of the chassis. If you don't wish to move the card, then you have to open MAX and configure the trigger lines independently.
This example is good implementation for your requirements. You might also want to look at using the NI DMM/Switch Express vi.
I hope this helps. Please let me know if you have any additional questions or concerns.
06-26-2006 12:35 AM
Thanks Natasa for your quick response.
Me being a relatively new person to DasyLab, maybe I didnt explain my prediciment properly first time round but I understand what you were saying in your last reply which will no doubt be handy to know for later
The problem i am having is completely inside dasylab (no external inputs) The issue at hand is that for up to approx 1000Hz I am getting accurate readings (within 0.1% of true signal), using the generator within dasylab to produce pulses for me, The errors I am obtaining are inaccurate readings ramping upwards from approx 1KHz onwards where there is around 0.2% error to approx 10% error at 2KHz (at 1KHz input it is reading: 1002 and at 2KHz it is reading 2205) . below 1000Hz the readings are fine, within tolerances. Most of the readings taken will be in the high 1000's and some in the 2000's.
At the moment I havent connected any external (to dasylab) signals yet, in my mind, if I cant obtain accurate results in "a perfect world" with an internal generator then I probably dont stand a chance when using "real" signals from external sources. I am thinking of using the scaling module but I am not sure if I can use that conditionally, ie: set it so that for a given frequency range it would scale by a certain amount then for another range it would be different scaling etcetera, ie:1000-1200Hz scale by 99.5% then 1200-1500 scale by 94% or something of the sort. I dont know if this can be done in dasylab or not, then again maybe I am thinking the wrong way about it...
Thyanks again to everyone for your time and effort it really is appreciated
- Glenn
06-26-2006 03:05 PM
Regards,
Daniel L.
Applications Engineer
National Instruments
06-27-2006 04:07 AM
06-27-2006 08:16 PM