While taking the pulses out from Labjack (digital_out function) which is interfaced with a MATLAB simulation, I experience problem with the frequency of the pulses.
Eventhough pulses of frequency 50 Hz is generated in MATLAB, the output of Labjack shows only 5 to 8 Hz only.
What is the highest frequency the Labjack can out?
Kindly suggest what I should do the get the exact frequency output pulse as that generated in MATLAB.
What I am doing is, in Matlab, the pulses to control the inverter switches are generated. The generated pulses in Matlab have higher frequency(50 Hz and much above).
These pulses are taken out through Labjack through FIO pins of Labjack using Digital out function.
First thing we need to know is how you are controlling the output. See the Waveform Generation App Note for an overview:
app-notes/waveform-generation
https://labjack.com/support/
I am guessing you are doing "Software Timing, Command-Response Updates"? That is, you just have some sort of loop in Matlab and are calling eDO to output the state of the desired DO?
From Section 3.1 of the U6 User's Guide you can see that is usually takes roughly 1ms for each update:
https://labjack.com/support/datasheets/u6/operation/command-response