08-01-2016 12:43 AM
Hello, I have an vi which is want change the while loop into SCTL. since SCTL inside i can't have a while loop structure. What is the best way convert it? here is my vi.
08-01-2016 04:18 AM
08-01-2016 07:10 PM - edited 08-01-2016 07:13 PM
@GerdW wrote:Hi Ambrose,
why use SCTL at all?
Why use (while) loops inside the case structure?
Why do you read the DIO pins outside of your loop?
I just correct my vi. miss use the SCTL.
The reason i use while loop inside the case structure (only false case this case is count down) is because I doing X1 decoding and every falling edge of the signal A the counter will count down.
I just make correction for DIO pin to put inside the loop d. Do you have an idea how to make this while loop inside case structure to implement on fpga? Since i need to reduce resource use of fpga. Thank you.
08-02-2016 12:55 AM
08-02-2016 02:00 AM
@GerdW wrote:Hi Ambrose,
attach your current VI (converted to LV2014), please!
Here it is.