Jump to content

Raymond Tsang

Members
  • Posts

    36
  • Joined

  • Last visited

    Never

Everything posted by Raymond Tsang

  1. Here is the program. Raymond Download File:post-3916-1151601702.zip
  2. Thanks, orko! But the cards I am using are pci6601/6602, which are supposed to support input AND output. I am wondering whether it is possible that when my program sometimes accidentally read AND write at the SAME time sometimes? The program is not with me now. I will upload that in a few hours when I go to the lab. However, I can explain a little bit the logic: The error happens at the "handshaking" between the program and a piece of hardware. The hardware is actually a radiation detector, when it detects a radiation, a "trigger" signal will be sent to the program. The program then reads all the data obtained by the detector and then send a "reset" signal to the detector (this is where the error occurs sometimes). Hope it explains a little more. Raymond
  3. Hi All, I have a DAQ program which read from/write to 5 DIO cards. Sometimes the following error is reported by DIO Port Write: ----------------------------------------------------- Warning 10612 occurred at an unidentified location. Possible reasons: NI-DAQ LV: The specified line does not support the specified transfer direction. ----------------------------------------------------- However, I don't understand why it happens and only SOMETIMES, but not at other times. Thanks!!! Raymond
  4. Thanks so much :worship: ! I went to MicroDAQ to have a look, but it seems there aren't any Linux-compatible dataloggers. As my computer runs on Linux, I think I have to use some Windows-emulating software like WINE. Do you guys know whether the dataloggers work with WINE? Thanks in advance! Raymond
  5. Hi All, I have to buy dataloggers for temperature, humidity and air pressure for my laboratory, but I have no idea where to find them. They have to be able to be viewed real-time, preferably viewed online. Do you have any recommendations or suggestions? Thanks in advance, :worship: Raymond
  6. Hi Neville, Thanks a lot for the suggestion. Actually, I am now trying to use the hardware trigger. I have found an example called "Start & Stop Trigger.vi" which seems to do the thing I want. When I look at the example, what it does seems to be: configuring the device and then looping in a while-loop. So, a while-loop is inevitable. Apart from the while-loop, my application needs to listen to a trigger in the mean while looking at the clock to see if time is up. So, I don't know how I can modify the example and use it. Any suggestions? Thanks in advance, :worship: Raymond
  7. Hi Louis, It seems that your guess is correct! But how to destroy a reference? Thanks, Raymond
  8. :laugh: Thanks very much! It's so easy, ha ha... Raymond
  9. Thank you :worship: , Louis for your really quick reponse!! I will go and check!
  10. I have a front panel with about 30 controls, so I put related ones together and add a decoration. However the decoration is always "on top of " the controls. Is there a way to put the decorations "under" the controls? Million thanks! Raymond
  11. I need to write a LV (6.1) program to get data from 5 32-bit IO cards (some PCI-6601 and PCI-6602). I have written the program, which reads one particular line (trigger) every, say, 1ms using a while loop. If a trigger is detected then data from all the cards are fetched. However, the program has some memory leak (4 to 8k/s as seen from windows task manager), so I am thinking of removing the while loop or at least reducing the number of loops. So, is it possible to do the same thing without reading a line frequently? for example, passively waiting a trigger to come? Thanks in advance! Raymond
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.