Example DAQ.vi

An example DAQ program that calls the NEESgrid subroutines. As of 1/24/03, now uses the hardware-timed DAQ routines. However, it reads one scan at a time and is so still limited to the speed of the graph applet. If you need faster, either read more scans at once, or remove the graph and display summary data as required.


Connector Pane

Example DAQ.vi


Front Panel

Example DAQ.vi


Block Diagram

Example DAQ.vi

Example DAQ.vi

Example DAQ.vi

Example DAQ.vi

Example DAQ.vi

Example DAQ.vi

Example DAQ.vi

Example DAQ.vi


List of SubVIs

TCP conditional data send.vi

TCP conditional data send.vi

Root 60GB:Users:hubbard:code:lv-programs:Subroutines.llb:TCP conditional data send.vi

DAQ status write.vi

DAQ status write.vi

Root 60GB:Users:hubbard:code:lv-programs:Subroutines.llb:DAQ status write.vi

Metadata save.vi

Metadata save.vi

Root 60GB:Users:hubbard:code:lv-programs:Subroutines.llb:Metadata save.vi

General Error Handler.vi

General Error Handler.vi

Root 60GB:Applications (Mac OS 9):LabVIEW 6.1:vi.lib:Utility:error.llb:General Error Handler.vi

Write file header.vi

Write file header.vi

Root 60GB:Users:hubbard:code:lv-programs:Subroutines.llb:Write file header.vi

Data array to NSDS stream.vi

Data array to NSDS stream.vi

Root 60GB:Users:hubbard:code:lv-programs:Subroutines.llb:Data array to NSDS stream.vi

Data array to datafile stream.vi

Data array to datafile stream.vi

Root 60GB:Users:hubbard:code:lv-programs:Subroutines.llb:Data array to datafile stream.vi

Write Characters To File.vi

Write Characters To File.vi

Root 60GB:Applications (Mac OS 9):LabVIEW 6.1:vi.lib:Utility:file.llb:Write Characters To File.vi

FTP three-phase write.vi

FTP three-phase write.vi

Root 60GB:Users:hubbard:code:lv-programs:Subroutines.llb:FTP three-phase write.vi

Number of open channels.vi

Number of open channels.vi

Root 60GB:Users:hubbard:code:lv-programs:Subroutines.llb:Number of open channels.vi

AI Start.vi

AI Start.vi

Root 60GB:Applications (Mac OS 9):LabVIEW 6.1:vi.lib:DAQ:AI.LLB:AI Start.vi

AI Config.vi

AI Config.vi

Root 60GB:Applications (Mac OS 9):LabVIEW 6.1:vi.lib:DAQ:AI.LLB:AI Config.vi

AI Read.vi

AI Read.vi

Root 60GB:Applications (Mac OS 9):LabVIEW 6.1:vi.lib:DAQ:AI.LLB:AI Read.vi

AI Read (waveform).vi

AI Read (waveform).vi

Root 60GB:Applications (Mac OS 9):LabVIEW 6.1:vi.lib:DAQ:AI.LLB:AI Read (waveform).vi

AI Clear.vi

AI Clear.vi

Root 60GB:Applications (Mac OS 9):LabVIEW 6.1:vi.lib:DAQ:AI.LLB:AI Clear.vi

DAQ channels to string array.vi

DAQ channels to string array.vi

Root 60GB:Users:hubbard:code:lv-programs:Subroutines.llb:DAQ channels to string array.vi


History

"Example DAQ.vi History"

Current Revision: 27

rev. 27 Fri, Apr 11, 2003 4:30:48 PM Paul Hubbard

SubVIs of this VI were modified.

rev. 27 Fri, Jan 24, 2003 4:39:58 PM hubbard

SubVIs of this VI were modified.

rev. 27 Fri, Jan 24, 2003 4:39:58 PM hubbard

DDT.

rev. 23 Fri, Jan 24, 2003 11:30:16 AM Paul Hubbard

Ready for testing in the lab, I guess.

rev. 22 Fri, Jan 24, 2003 1:44:45 AM Paul Hubbard

SubVIs of this VI were modified.

rev. 21 Thu, Jan 23, 2003 6:34:07 PM Paul Hubbard

The name of the VI changed to "Root 60GB:Users:hubbard:code:lv-programs:nees-progs.llb:Example DAQ.vi" from "Root 60GB:Users:hubbard:code:lv-programs:nees-progs.llb:Semi-fake DAQ.vi".

rev. 21 Thu, Jan 23, 2003 6:34:07 PM Paul Hubbard

Start by removed AI One Pt subroutine.

rev. 20 Thu, Jan 23, 2003 5:37:39 PM Paul Hubbard

LV fix - change AI output to scaled data from waveform to avoid LV crash.

rev. 19 Mon, Oct 28, 2002 6:30:37 PM Administrator

SubVIs of this VI were modified.

rev. 19 Mon, Oct 21, 2002 10:08:15 PM hubbard

WIP

rev. 18 Mon, Oct 21, 2002 5:35:25 PM hubbard

Fixed sample rate in metadata header.

rev. 17 Mon, Oct 21, 2002 5:23:57 PM hubbard

Fixed defaults.

rev. 16 Fri, Oct 18, 2002 11:47:48 AM hubbard

SubVIs of this VI were modified.

rev. 16 Fri, Oct 18, 2002 11:47:47 AM hubbard

Fixed number of open channels.

rev. 15 Thu, Oct 17, 2002 12:04:56 PM hubbard

SubVIs of this VI were modified.

rev. 15 Thu, Oct 17, 2002 12:04:55 PM hubbard

Now uses three-phase write. Untested!

rev. 14 Wed, Oct 16, 2002 1:03:05 PM hubbard

SubVIs of this VI were modified.

rev. 13 Fri, Oct 18, 2002 8:29:12 PM hubbard

SubVIs of this VI were modified.

rev. 13 Fri, Oct 18, 2002 8:29:11 PM hubbard

Added FTP save at end of run, cosmetics, not tested yet.

rev. 12 Mon, Oct 14, 2002 3:55:12 PM hubbard

NSDS formatting sub vi now gets channel ids, oops.

rev. 11 Mon, Oct 14, 2002 2:07:51 PM hubbard

SubVIs of this VI were modified.

rev. 11 Fri, Oct 11, 2002 4:17:40 PM hubbard

SubVIs of this VI were modified.

rev. 10 Thu, Oct 10, 2002 5:21:59 PM hubbard

SubVIs of this VI were modified.

rev. 9 Thu, Oct 10, 2002 3:55:54 PM hubbard

SubVIs of this VI were modified.

rev. 9 Thu, Oct 10, 2002 3:55:52 PM hubbard

Adding more code.

rev. 8 Mon, Oct 7, 2002 3:37:17 PM Administrator

Seems to work!

rev. 7 Mon, Oct 7, 2002 3:29:02 PM Administrator

SubVIs of this VI were modified.

rev. 7 Mon, Oct 7, 2002 3:29:02 PM Administrator

Rearrange, move in real AI read, call fmt data directly.

rev. 4 Fri, Oct 4, 2002 3:06:47 PM hubbard

The name of the VI changed to "/home/hubbard/code/lv-programs/nees-progs.llb/Fake DAQ.vi" from "/home/hubbard/code/nsds-simulator/neesgrid_1.llb/Fake DAQ.vi".

rev. 4 Thu, Oct 3, 2002 6:02:35 PM hubbard

SubVIs of this VI were modified.

rev. 4 Thu, Oct 3, 2002 6:02:34 PM hubbard

Bugs!

rev. 3 Thu, Oct 3, 2002 10:55:01 AM hubbard

SubVIs of this VI were modified.

rev. 3 Thu, Oct 3, 2002 10:55:00 AM hubbard

Added setting of status

rev. 2 Thu, Oct 3, 2002 10:21:21 AM hubbard

The name of the VI changed to "/home/hubbard/code/nsds-simulator/neesgrid_1.llb/Fake DAQ.vi" from "/home/hubbard/code/labview/Fake DAQ.vi".

rev. 2 Wed, Oct 2, 2002 4:03:21 PM hubbard

Cosmetics

rev. 1 Tue, Oct 1, 2002 1:04:37 PM hubbard

SubVIs of this VI were modified.

rev. 1 Tue, Oct 1, 2002 1:04:37 PM hubbard

Single channel, first attempt