LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Channel Selection

I am trying to develop a channel selection VI for a Keithley 2700 DAQ system with a 7708 card installed. to specify the channels to be scanned the user send a string with the channels specified (ie 101,102 etc.) a comma is used to separate thechannel numbers. I want to use a series of check boxes that will create teh string. This is the easy part. Where I am having difficulty is with the commas. Each channel number is to be separated by a comma however the if a comma is placed after the last channel number in thr string, the 2700 chokes. I thought about passing the selected channels to an array and then to the array to spread sheet function, but then I get too many deliminators(101,102,103,) I'm using labView 6/6.1. Any Ideas?



Andrew
0 Kudos
Message 1 of 2
(2,679 Views)

Hi Andrew,

You can build the string with embedded commas as shown in the attached diagram, for instance. Or, use your existing approach and remove the extra comma at the end, again as shown ion the diagram.


Khalid


0 Kudos
Message 2 of 2
(2,679 Views)