Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Scanning Patterns in Both Directions in LabVIEW

Hello everyone,
I am currently working on a project where I need to implement a B-scan imaging technique in LabVIEW. I have generated two separate scanning patterns—horizontal and vertical—illustrated in the attached image (Figure_1.png).
  • The left diagram represents horizontal scanning, while the right diagram shows vertical scanning.
I would like to know how I can effectively change the scanning pattern between these two directions dynamically within the same VI. Are there specific techniques or best practices in LabVIEW to facilitate this? Any guidance or examples would be greatly appreciated!
Thank you for your assistance!
Best regards,
Dev
Download All
0 Kudos
Message 1 of 3
(77 Views)

(This is a continuation of your earlier discussion)

 

You are still attaching Vis in very new versions. You will get more help by doing a "save for previous", (LabVIEW 2019).

 

You need to define your definition of "dynamically" (during a scan? Between scans?)

 

If between scans, just add a case structure where you swap the x and y arrays.

 

Since this is mostly a programming question that has very little to do with "multifunction DAQ", the LabVIEW forum would be a much better place. I can move your thread is you like.

0 Kudos
Message 2 of 3
(47 Views)

Subject: Flexibility in Scanning Directions

 

Thank you for your response and suggestions. I appreciate your guidance on using a "save for previous" option, but unfortunately, I am currently limited to using LabVIEW 2024. To clarify my needs, I am looking to create flexibility in scanning in both directions, but not dynamically during a scan. Instead, I want to be able to change the scanning direction for each new scan by interchanging the rows of the array. Adding a case structure to swap the X and Y arrays between scans sounds like a viable approach, and I will definitely explore that option. I understand that this question is more programming-oriented and not directly related to multifunction DAQ. If you could move my thread to the LabVIEW forum for further assistance, I would greatly appreciate it. Thank you once again for your help!

Best regards,

Devv

0 Kudos
Message 3 of 3
(16 Views)