Jump to content

Minis

Members
  • Posts

    8
  • Joined

  • Last visited

LabVIEW Information

  • Version
    LabVIEW 7.1
  • Since
    2009

Minis's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, ASTDan, Thanks for the tip. I was not sure if i needed to use this.
  2. Hi, Paul, Yes, of course, it was fun !
  3. Hi, Crelf, thanks for the block diagram. I just have one question - why do you have that clock inside the loop ? I do use NI-DAQ instead NI-DAQmx because of limitations of that traditional DaqPad that we have. I think that there is no way that it can be programmed using NI-DAQmx, well at least i did not find anything. In fact i am not a programmer i just know a little bit of many things that help me in my materials related research and sometimes i come upon some problems that i cannot stand standard software and i write my own simple programs. While i was testing my program i found that the file format that save wave as a spreadsheet does not work the way i want. It's not a big deal, but do you or anybody knows the way that i could split those waveforms that are coupled in one array into two separate waveforms or at least two separate arrays of Y values. Because i find that my very first attempt to write Y values into data file was better. thanks again, it was very helpful to hear some thoughts. Asbo, i think you have a valid point i need to look for that in the manual (again)
  4. Hello again, Just wanted to share that i solved my problem for now and put the program for any other newbie like me to see how is it done. My first frustration was that i could not easily duplicate VI's and get two channels read at the same time. All examples or programs that i looked at (more than 20 pages of google search and several manuals) were detailing one channel input without much discussion how to go to multiple channels. Asbo's hint to put both analog inputs into a build array helped to get both channels read at the same time by the same AI-Read VI, which was essential. I was sure that i have tried that before but apparently did something wrong and could not remember. So i tried it again and it worked fine this time. Thanks for your help ! new_MR_aquisition_program_one_channel.vi
  5. Hi, Asbo, Thanks for the links that's helpful. I will read a little and will come back tomorrow. By the way i did try to google and found just very few examples that were relevant. Thanks again!
  6. Hi, Asbo, Thanks for the reply. I am not aware about the difference in paradigms. I am absolute newbie in LabView and learned it only from help, which does not delve into paradigms at all (or at least i did not find that part yet). The program that i posted is just one instance of what i have tried. I did try to read both channels using AI-wave and both channels using trio of AI-config, start and read, neither gave me good result. I think i tried to built an array of two channels into an array, but i think that i gave me an error of type mismatch which i could not resolve. What would error terminal connection give me? sorry but i really did not see the point of that. thanks again for your time.
  7. Crelf, Thanks for the reply. I am trying to attach code and screenshot of the program that i used. The part for channel AnCH2 is what i essentially need and that part works until i add the other part for channel AnCH3. When i add that part it stops working. I would really appreciate any comments. George, Thanks for the reply. I did look at the examples and learned alot from them. However the examples that i have usually deal with simulated inputs and they are too complex for me to understand at this point. new_MR_aquisition_program_two_channels.vi
  8. Hello, I am very new to Labview and i have to make a program for DaqPad 6020e to read two analog input channels. So far what ever i did using standard VI i could not get both of the channels read. I used AI-config, AI-Start and AI-read. It does read one channel without any problems however when i try to make similar program for second channel i get transfer error. I suspect that i cannot use two instances of AI-config and other related VI's. I have also tried to use other functions such as AI-wave and AI-cont, however those seem to record data in buffer size portions and i get some data missing or something that i do not currently understand. My task is to measure two channels and save every measurement into file. One data channel is related to the other and i need to see how they change relative to each other. I would appreciate any pointers what should i explore or how should i try to solve the problem. Thanks!
×
×
  • Create New...

Important Information

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