01-04-2011 05:06 PM
Hi All,
We are trying to send a 8-bit digital input to DUT, while we are using a sourcemeter for sourcing V and measuring I. We have carried out both these processes successfully seperately. For 8-bit input we used Signal Express to obtain the ouput. For sourcemeter, we used one of the drivers available online. Now we want to combine both thes processes in a single VI. I tired couple of methods like generating VI from Signal Express and combining it with the other VI, trying to run VIs in Signal Express, etc; but I have not been able to combine them. Will it be easier to generate digital waveforms in LabView VI, instead of trying to convert Signal Express waveforms to VI ?
I have atatched the two VIs, namely sbox.vi (signal express VI) and Keithley 24XX Read Multiple.vi. I will appreciate if someone can help out with this.
Thanks,
Kanu
01-05-2011 01:24 PM - edited 01-05-2011 01:25 PM
Kanu,
You should be able to easily implement multiple VIs together by introducing additional code as a subvi or simply copying additional code. You can drag a .vi file into a labview block diagram to import a vi as a subvi.
You are using NI hardware for your digital generation correct?
If you want to know how to generate digital signals using the typical methods most users utilize I suggest looking at the labview shipping examples. You can access this from the help tab>>find examples.. This will bring up the NI Example Finder. Here you can click on the hardware input and output directory>>DAQmx>>Digital Generation. The VIs here involve generating signals on digital ports/ channels. Specifically you can look at Cont Write Dig Port-Int Clk.vi for starters.
Please take a quick look at http://zone.ni.com/devzone/cda/tut/p/id/5241 and http://www.ni.com/gettingstarted/labviewbasics/ to get more knowlege on programing in labview.
<Joel Khan | Applications Engineering | National Instruments | Rice University BSEE>