Jump to content

X-Y scan and Image Acquisition.


Recommended Posts

Hello,

I am a research student and I am trying to get the following done:

1.A laser hits on a target. the laser point is scanned on the surface of the target. X-Y scan supported by 2 stepper motors are controlled by a labview program to move the target in X-pixels and Y-pixels.

2. The light that is reflected off the target is taken in by the detector. These analog values are converted to digital using a DSP board. This is my DAQ control board. these values are to be stored in a 2-D array and later used to form an image.

My problems:

I dont really understand how to control the x-y scanning sytem and how to read in the measurements and form the image.

I am a beginner in labview.

Any help and suggestions on this will be appreciated.

Link to post
Share on other sites

I dont really understand how to control the x-y scanning sytem and how to read in the measurements and form the image.

Manuals are your friends. They will tell you how the physical hookup goes. The software part will depend on the physical connection and the commands (also in the manual!). Check the manufacturer's website for (example) code to communicate with their device. Go through the LabVIEW example programs that install with LabVIEW to see how to do tasks; you'll have to put together multiple things to get what you need.

Tim

Link to post
Share on other sites

Hey guys,

Thanks ! ... I got the XY 2D scan using stepper motors done! ... :yes:

Now the major step is how can I read in the values that I get from the photosensor that is connected to the DAQ board and put it into 2D array ??

This 2D array later can be used to display images.

I need a start this. Please help!

Link to post
Share on other sites

Hey guys,

Thanks ! ... I got the XY 2D scan using stepper motors done! ... :yes:

Now the major step is how can I read in the values that I get from the photosensor that is connected to the DAQ board and put it into 2D array ??

This 2D array later can be used to display images.

I need a start this. Please help!

This is pretty trivial. Check the array pallet.

Link to post
Share on other sites

Hey guys,

Thanks ! ... I got the XY 2D scan using stepper motors done! ... :yes:

Now the major step is how can I read in the values that I get from the photosensor that is connected to the DAQ board and put it into 2D array ??

This 2D array later can be used to display images.

I need a start this. Please help!

The advice you are getting is non-specific for two reasons. Your questions are very broad, and it feels as if you are asking for us to do the work for you. If you can present targeted questions as you work through the problem, then you will get much more relevant information than to read the manuals.

Link to post
Share on other sites

The advice you are getting is non-specific for two reasons. Your questions are very broad, and it feels as if you are asking for us to do the work for you. If you can present targeted questions as you work through the problem, then you will get much more relevant information than to read the manuals.

More importantly, going through the effort of trying to write targeted questions will help you advance your comprehension of the problem and the tools available to you.

I often find that if I'm stuck on a problem, drafting an e-mail to try and explain it to a co-worker as though they know nothing about the problem will help to straighten things out. And if it doesn't, I've got a perfectly useful e-mail to send. :)

Link to post
Share on other sites

@above all : You guys are right when I read my questions again I feel I am asking on a broad perspective. I will target my questions to a specific problem. This is possible only when I do things. The usual problems with beginner :)

I will be back when I hit some hard stone.

Thanks guys :D

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By Zyga
      LAVA users,
      We are looking for alternatives for NI DAQ devices for industrial automation. Since NI has its devices mostly focused on advanced/high speed/high precison data acquisition/processing its prices are inadequate to simple automation tasks. 
      I would also say that NI PC based daq systems are expensive if need to be distributed systems (found this but still relatively expensive cRIO required).
      Just now we need to extend our compactDAQ based system with two DIO modules. We even have free chassis slots for this, but station that needs this IOs is few meters away from PC. How easier would it be if we could use single ethernet cable..  Ofcourse we can add another small cDAQ (what we probably going to do) but this is slightly expensive solution for our customer.
      Does anyone have some experience with 3rd party solutions? Any known daq devices vendors? Standalone ethernet daq modules?

      Regards,
      Zyga
    • By Gab
      Hello Everyone,
      Need some verification with daq program.
      I have one force sensor that connectd with my usb daq device. with this force sensor, unknown object is connected(hanging) and i want to find the mass of this object (F=ma) so i am taking continous sample and generate waveform graph. After the scaling, my waveform will be in Newton unit.
      my question is: if i take RMS of this waveform(1d Array data point) and divide by g (9.8 m/s2) then whatever value come is my correct mass? (F=ma).
      Thank you in advance
    • By Atron100
      hi
      i have a question in basic understanding of update rate sample rate samples per buffer and cycles per buffer.
      i have DAQ 6343 and electronic circuit. 
      i'm using AO0 for generation sine wave at these frequencies 10Hz, 100Hz, 500Hz, 1kHz, 3kHz this signal enters to electronic circuit.
      and after conversion i must to measure two outputs of this circuit by AI2 and AI3.
      from my understanding of tech spec of the daq analog output update rate is 900kS/s and analog input update rate is 500kS/s
      as i understand if i have freq = 3kHz the maximum sample rate per buffer is 300 samples
      and if i have freq = 10Hz i can generate this signal with 90000 samples per buffer?
      for analog input the formula is the same?
      that meaning of cycles per buffer?
      which sample rate of AI i need to setup to measure data fast and accurately? 
       
      thanks for answers
    • By _Y_
      I am trying to implement a simple DAQ Watchdog with single digital output but cannot find any logical way to reset the Watchdog timeout signal. One of obvious solutions is invoking DAQmx Reset Device.vi. Unfortunately, it does not work. The Watchdog goes to timeout state but the physical output signal does not turn to High.
       
      For some obscure reason (typical non-qualified guess:) I added bottom part of the code that is red-framed in the BD. The only difference between functional and non-functional code is using DAQmx Start Task.vi, that is located in “Solutionâ€-driven case structure. If Boolean control “Solution†is True, the code works; if False, it doesn’t.
       
      Please help to understand why launching conventional Digital Output task is necessary for normal functioning of the Watchdog?
       
      PS: Attempts to use clear expiration command instead of DAQmx Reset Device.vi were not successful.
       
      PSS: HW is PXIe-6358
       
      PSSS: Unfortunately, I cannot post any image here. Any image format results in "You are not allowed to use that image extension on this community" . The VI is attached.
      watchdogTest150817.vi
×
×
  • Create New...

Important Information

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