Saving Custom Settings on FLIR Machine Vision Cameras

Preparing for use

Before you use your camera, we recommend that you are aware of the following resources available from our downloads page:

  • Getting Started Manual for the camera—provides information on installing components and software needed to run the camera.
  • Technical Reference for the camera—provides information on the camera’s specifications, features and operations, as well as imaging and acquisition controls.
  • Firmware updates—ensure you are using the most up-to-date firmware for the camera to take advantage of improvements and fixes.
  • Tech InsightsSubscribe to our monthly email updates containing information on new knowledge base articles, new firmware and software releases, and Product Change Notices (PCN).

Saving a custom setting

After the cameras have been physically connected, use either the SDK's demo program or write code to save Custom Settings.

Using SpinView

SpinView is the demo program available with the Spinnaker® SDK.

  1. Open SpinView.
  2. Select the camera.
  3. In the Features tab, under the camera model name, make whatever camera settings changes you want to keep (for example, change exposure auto to off).
  4. In the Features tab, under the camera model name, click User Set Control.
  5. Change User Set Selector to User Set 0 (or User Set 1).
  6. Click the Execute button beside User Set Save.
  7. Change User Set Default to User Set 0 (or User Set 1 depending on step 5).

Saving the settings to a user set and changing the default to the same user set ensures the camera starts up with these settings even after a power cycle.

Using FlyCap2

FlyCap2 is the demo program available with the FlyCapture2 SDK.

  1. Open FlyCap2.
  2. Select the camera and click Configure Selected.
  3. Make whatever camera settings you want (for example, in the camera settings tab, uncheck the auto checkbox beside shutter).
  4. Select the Advanced Camera Settings tab.
  5. Change Memory Channel to 1 (or 2).
  6. Click Save.

There is no User Set Default in FlyCap2. Saving to a memory channel ensures the camera starts up with the settings just saved to this memory channel even after a power cycle.

Restoring to factory default settings

Both Spinnaker and FlyCapture2 have a default profile that can’t be overwritten. This keeps the camera’s factory default settings available.

Using SpinView

  1. Open SpinView.
  2. Select the camera.
  3. In the Features tab, under the camera model name, click User Set Control.
  4. Change User Set Selector to Default.
  5. Click the Execute button beside User Set Load.
  6. Change User Set Default to Default.

Loading the default user set means changing the current camera settings back to factory default settings; changing user set default to Default means after a power-cycle, the camera starts up with default settings.

Using FlyCap2

  1. Open FlyCap2.
  2. Select the camera and click Configure Selected.
  3. Select the Advanced Camera Settings tab.
  4. Change Memory Channel to default.
  5. Click Restore.
  6. Click Save.

Clicking restore means changing the current camera settings to Default settings; clicking save means after a power-cycle, the camera starts up with default settings.

Saving custom settings to multiple cameras

Note; this section only applies to BFS/ORX/FFY cameras, not to any cameras that are compatible with FlyCapture2.

In the situation where you want to share the custom settings you have set on one of your cameras with your other cameras of the same model, you can do so by using SpinView's File Access utility.

  1. Follow steps 1 through 6 in the "Saving Custom settings" section (Using SpinView section)
  2. Switch to the File Access tab.
  3. Change  Camera File Access to UserSet0/1, then click on "Download"; choose a title for the custom settings file and save to your hard drive.
  4. Switch to the second camera in SpinView.
  5. In the File Access tab, Set Camera File Access to User Set 0/1, then click on the "Upload" button, navigating to the custom settings file you just generated in step 3.
  6. Switch to the Features tab; under the camera model name, click User Set Control.
  7. Set User Set Selector to userset 0/1 (whichever one you used for step 5).
  8. Click the "Execute" button beside User Set Load.

 

Using the API

It’s possible to make modifications to the custom settings within both the Spinnaker and FlyCapture2 API directly, without needing to go through the SpinView or FlyCap2 applications. Links to sample code showcasing this functionality can be found below.

SavetoUserSet.cpp shows how to save custom settings to a user set. It modifies the exposure time to 2000 microseconds, then saves this change to user set 1. It also shows how to restore to factory default settings.

SavetoMemoryChannel.cpp shows how to save custom settings to a memory channel. It modifies the shutter time to 2 milliseconds, then saves this change to memory channel 1. It also shows how to restore to factory default settings.

Troubleshooting

When in a situation where the camera seems to be in a bad state, it’s possible to resolve this (without power-cycling the camera) by going back to factory default settings. Follow the Restoring to factory default settings section above for details on how to do this.