preview and acquire data in image acquisition explorer
the image acquisition explorer has a preview that displays the image data from your image acquisition device when you preview or acquire data.
turn off the preview by toggling the preview switch to off.
if you set the color space to
grayscale
in the toolstrip, you can set
the colormap and color limits.
color limit — toggle this switch to manual to set the minimum and maximum values on the specified colormap. the default values are 0 and 255. all values in the preview that are less than or equal to the minimum value map to the lowest value of the colormap. all values in the preview that are greater than or equal to the maximum value map to the highest value of the colormap.
colormap — colormap applied to the preview. for a full list of options, see .
the area below the preview displays the current frame rate and the timestamp of the last frame in the preview. the status bar below the preview displays status messages when you capture an image snapshot or record a video. the messages provide information about the current acquisition mode, the number of frames or seconds captured, and the file name or workspace variable name that the data is saved as. the status message also indicates when the app has completed capturing a snapshot or recording a video.
note
previewing data using software opengl® instead of graphics hardware that supports a hardware-accelerated implementation of opengl can cause performance issues for the app and is not recommended. for more information, see .
set up preview for acquisition
before acquiring data by taking a snapshot or recording a video, you can preview the image data in the app. modify acquisition parameters and device properties and see the changes update in real-time in the preview.
make sure that the correct device is selected in the device list. the device list shows the image acquisition devices currently connected to your system. if the device you want to use is not connected to your system, plug it in and refresh the list. then, select the new hardware. for more information, see .
select the video format and color space from the configure format section of the app toolstrip. the video formats might correspond to the different resolutions and color spaces that your device supports, or to different video standards or camera configurations. this information comes from your device adaptor. select the format you want to use. for more information, see .
look at the preview to test and set up your device. if necessary, physically adjust the device to achieve the desired image area, or use the settings in the roi position panel to constrain the image. for more information, see .
set additional properties in the device properties panel to adjust the quality of the image or other acquisition factors. for more information, see .
for more information about logging, see log data in image acquisition explorer.
capture image snapshot
after you are satisfied with the image that you see in the preview, you can capture and save image data. click the capture button in the snapshot section of the app toolstrip. clicking this button immediately captures a single image frame and saves it as an image file or as a workspace variable, depending on your selection of file or workspace variable in the logging section.
record video
you can save image data from your image acquisition device as a video recording. there are four workflows for recording video in the image acquisition explorer app.
record finite number of frames
capture a finite number of frames of image data from your image acquisition device.
select the finite option in the record section of the app toolstrip. selecting this option allows you to specify the number of frames you want to record.
select the
frame(s)
option from the dropdown next to finite.enter an integer value for the number of frames to capture in the field to the left of
frame(s)
.click the record button to acquire the specified number of frames and save them as a video file or as a workspace variable, depending on your selection of file or workspace variable in the logging section. the record button becomes a stop button after you click it.
wait for the specified number of frames to be recorded. you can also end recording at any time before the specified number of frames is captured by clicking stop. clicking stop saves the data that has already been captured.
while you are recording, the app toolstrip and all property panels are disabled. you cannot change the value of any parameters during recording.
record for finite duration
capture a specified number of seconds of image data from your image acquisition device.
select the finite option in the record section of the app toolstrip. selecting this option allows you to specify the amount of time you want to record.
select the
second(s)
option from the dropdown next to finite.enter a numeric value for the number of seconds to capture in the field to the left of
second(s)
.note
the length of the saved recording might be less than the amount of time specified here since this value includes the time required for the acquisition to start. after you click the record button, your device might require some time to start the acquisition. if your recording does not capture all the frames you want it to, try increasing the recording duration and recording again.
click the record button to acquire frames for the specified number of seconds and save them as a video file or as a workspace variable, depending on your selection of file or workspace variable in the logging section. the record button becomes a stop button after you click it.
wait for the specified number of seconds to be recorded. you can also end recording at any time before the specified number of seconds is captured by clicking stop. clicking stop saves the data that has already been captured.
while you are recording, the app toolstrip and all property panels are disabled. you cannot change the value of any parameters during recording.
record continuously
capture image data for an infinite duration from your image acquisition device.
select the continuous option in the record section of the app toolstrip.
click the record button to continuously acquire frames and save them as a video file or as a workspace variable, depending on your selection of file or workspace variable in the logging section. the record button becomes a stop button after you click it.
you can end recording at any time by clicking stop and saving the data that has already been captured.
while you are recording, the app toolstrip and all property panels are disabled. you cannot change the value of any parameters during recording.
record with hardware trigger
capture frames with a hardware trigger.
make sure that the trigger mode property is set to
on
and other trigger selector properties are configured correctly in the device properties panel.select the hardware trigger option in the record section of the app toolstrip.
configure the hardware trigger properties in the hardware trigger panel.
number of triggers
frames per trigger
trigger source
trigger condition
click the record button to start acquiring frames when the trigger condition is met. the image data is saved as a video file or as a workspace variable, depending on your selection of file or workspace variable in the logging section. the record button becomes a stop button after you click it.
wait for the specified number of triggers to be reached for the recording to complete. you can also end recording at any time by clicking stop and saving the data that has already been captured.
while you are recording, the app toolstrip and all property panels are disabled. you cannot change the value of any parameters during recording.