Jump to content

ayumisano

Members
  • Posts

    35
  • Joined

  • Last visited

    Never

ayumisano's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Dear Michael, I put both Port Config and DIO Clear in the while loop and luckily the triggering still works. Thank you for the help and suggestions from all of you! Ayumi
  2. Hi Michael, I have attached the image of part of the DAQ program. I am not sure whether this helps but since the program is too large to use 'screen capture'. I am thinking whether it is the DIG line in the while loop that makes the problem. So now I am trying to use Port Conifg and Port read and DIO clear instead, and I put Port config outside the while loop and Port read and DIO clear inside the while loop. It seems that the memeory leak problem is solved (I ran the program for 12 hours but it didn't show me the message of insufficient ram as it did in the past), but I have not yet tested whether the triggering still works properly (that is, whether it can still receive a signal from the PCI-6534) if I put it this way. Thank you for your help! Ayumi
  3. Hi Louis: I don't understand what you mean by "create reference". Do you mean using port config inside a while loop? Thanks for your help! Ayumi
  4. Dear all, Thank you for your reply. I know that it is memory leakage because I open the task manager and I can see that the the ram "comsumed" by LabVIEW is increasing while there is no triggering. I will try to find a simpler version to post here. I would like to know whether PCI-6602, PCI-6601 and PCI-6534 can be used for hardware triggering. Thank you very much for your help. Ayumi
  5. Dear all, I am writing a data acquisition program with LabVIEW. The program has a while loop which waits for triggering from outside. The program works properly when there is triggering but there is memory leakage when there is no triggering. I would like to know whether there is any method to solve this problem. Moreover, does hardware triggering require specific I/O cards such as PCI-6534? Thank you for your help in advance! Ayumi
  6. Dear Pete Liiva, Thank you for your reply! I am using the digital input of PCI-6602 and NI 6509 only, there are at least 20 inputs for each card. (five PCI-6602 and one NI 6509) Actually the average event rate is not that high, it's only 1 event per second, but of course the faster the better. If the event rate is one event per second, how long would the delay be acceptable? Thank you in advance~ Ayumi
  7. Dear all, I would like to know whether it is possible to synchronize five PCI-6602 and how. (I was told that it's impossible to synchroize more than 4 cards, by an NI staff) My aim is to synchronize a NI 6509 and five PCI-6602. Moreover, I would like to know the delay time of taking data and finishing taking data of a software type digital I/O card. Thank you very much for your attention! Ayumi
  8. Dear all, I would like to buy an I/O card for data acquisition. The event rate is 1 per second on average. What I need is digital input and 96 bits. Which card do you recommend? Thank you very much for your attention! Ayumi
  9. Dear all, I am writing a library for the LabVIEW Call library function. I have to include sstream and use istringstream and ostringstream from sstream. I am building the .dll using MS Visual C++. However, there is always error telling me that istringstream and ostringstream are undeclared identifier when I build the .dll file. I have tried building a simple .exe file which also include sstream and I use istringstream and ostringstream in it and I use MS Visual C++ to compile it. There was no error. I would like to know why the error only occurs when I build a .dll file and what I can do to solve this problem. Thank you very much for your attention! ^^ Ayumi
  10. Dear Pete Liiva, Thank you so much for your help! Finally I did the job! Ayumi
  11. Dear Pete Liiva, Thank you very much for the user manual of PCI-6602!! Should I set port 0 and line (for example) 12 if I am trying a read an input signal from line 12 of the I/O card? I am using LabVIEW 6.1 only and it cannot be used with NI-DAQmx devices, I wonder if it can read from all 32 lines of PCI-6602. Anyway, thanks a lot for your help! Ayumi
  12. Dear Pete Liiva, Thank you for your reply! The signal I am reading is just 9V from a battery (simple circuit with a light bulb, made intentionally for testing these I/O cards). There is no way to add lines (other than 0 - 7) to 6602 and 6601 for NI-DAQ, I can only see port 1, lines 0 to 7 in the test panel in NI-DAQ traditional devices. Can all PFI be changed into DIO? Ayumi
  13. Dear all, I am connecting 5 I/O cards (1 PCI-6534, 3 PCI-6602 and 1 PCI-6601) and trying to read digital signals from them. I was told by an NI staff member that 5 NI I/O cards cannont be connected together to take signals, however, it works properly for the combination mentioned above. I would like to know whether it works properly is because the 5 cards are of the same generation, or the claim of that NI staff was wrong? Another question: I would like to know whether it is possible to make PCI-660x family take 32 bits digital signals (I am using LabVIEW 6.1 and NI-DAQ [not DAQmx]). Thank you very much for your attention! Ayumi
  14. I have tried both burst mode and executable file. The executable file of Cont Pattern Output did not give an incrase of frequency of 1 order. It was still around 1.5MHz. And for the burst mode, I don't know why there was no signal seen when I connected one of the line with a CRO. (I used PCI-6534) :headbang:
  15. Thank you for your reply!! I will try burst mode to see if it can give a 20MHz pulse. At the same time, I am thinking about creating an executable file instead of running a vi. I would like to know whether running an executable file will be faster than running a vi. (I mean increasing MHz now to the order of 10MHz. It is said that because the exe file does not need compilation anymore but the vi does, is it true?) Ayumi
×
×
  • Create New...

Important Information

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