Jump to content

physics dude

Members
  • Posts

    6
  • Joined

  • Last visited

LabVIEW Information

  • Version
    LabVIEW 2010
  • Since
    2009

physics dude's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. thanks for the reply, I really appreciate it, I found a way to communicate with MCA with TTL pulses! Thank God! ( some hardware work was needed but it is working now) 90% of my code is ready! I can send pulses -with the write pulse.vi you provided a few posts ago, thanks again- to the stepper motor and the MCA and I can trigger an action with an incoming TTL pulse, I only have one last problem: After each acquisition/step I need to plot the data written by Maestro 32 (spectrum analyser) in a.chn file. The type of the file is binary and I am having a really hard time "reading" it. I have the complete structure of the .chn file from the manual (basically is a 32byte header and the data comes after that) but struggling with some readingbinary.vi 's hasn't got me anywhere. I also have 2 pieces of code, in FORTRAN and C which extract the information I want from the .chn files (provided in the manual). Basically the .chn file is a spectrum of counts divided in many energy channels, all I need is the sum of counts of all the channels. You have done too much already for me, but I would be thankful if you helped me once again. Greetings
  2. Hello again, I have been away due to exams but now I am working very intensively on this project again and I need some help (again). My problem is that the control of my Multichannel Analyser (ORTEC's ASPEC-927) cannot be done through TTL pulses after all and I have to find a way to do it through labview. I have been searching a lot in the internet but all I have come up with is either a publication "LABVIEW-BASED MCA EMULATION SOFTWARE FOR ORTEC MULTICHANNEL BUFFERS" or some reference to ActiveX usage for such a task. All I need is to trigger the counting, stop it and input the data in labview. If someone has knowledge on the matter, I would like to know what is achievable and what is not. I have no knowledge of ActiveX programming whatsoever by the way. ps.I haven't found anything relative to the communication of labview with Maestro 32 which is the default software provided with the MCA card nor "reading" the .chn output files from labview so I assume it is out of the question. thank you in advance
  3. Thank you so much for your time and effort, you ve been very helpful, I will fiddle around with the code and information provided and return with feedback, cheers
  4. You are correct, i am trying to generate pulses to rotate my stepper motor as a first step, my final task is a bit more complicated (sadly) . I will give the "Cont Write Dig Port-Int Clk.vi" a try and I will be back with feedback, thanks a lot. My final target is to: a) send a pulse to rotate my stepper motor b)after the rotation is complete i want to send another pulse to an MCA device ( multichannel analyzer) to "tell" it to start counting -the voltage coming out of a PMT tube- c)after the counting is done, the MCA will send another TTL pulse to inform my program that it has finished and d)it will also send a varying signal in the order of ~mV which i want to collect and graph in my front panel at LabVIEW. e) This procedure will repeat in the speed and step of my choice. The controlling of the MCA device is easily done by an other program called Maestro so adjusting the time that the MCA will count and sending of the TTL signal to LabVIEW is rather easy. I want to ask whether this is possible by modding the "Cont Write Dig Port-Int Clk.vi" or i will have to use a handshaking vi (?). AGAIN sorry for the super lengthy post but i believe the better you ask the question, the more likely is to get the answer you seek. Thank you
  5. I don't think the example is wrong either, I m probably using it the wrong way, here it is: Write Dig Chan.vi
  6. Hello, I am a physicist trying to build a rotating radiation detector which is mounted on a stepper motor. My board is PCI 6503 and I am using LabVIEW 10. I am using the board to create the digital clock input for my stepper motor (TTL pulses). I have been trying to control the stepper motor with the Write Dig Chan.vi example. My problem is that when i run the program nothing happens and i have to manually turn on/off the knob that corresponds to the line that the clock of the motor is connected to get 1 step. I cannot figure out how to replace the boolean knobs of the array that is connected to the DAQmx Write function of the example in order to make a Flat sequence or/and a loop etc.. The same thing happens using the DAQ assistant. Running the program won't produce any pulses but turning the switch (of line 7 i.e) on/off while the program is running will give me one step. SORRY for the lengthy post, any help would be grateful, cheers
×
×
  • Create New...

Important Information

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