Totallin
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 19 articles for 0.303 sec
We've just switched to MATLAB 7.4.0 (R2007a) and have the daq toolbox 2.10 installed. We have been using NI PCI 6014 cards for about five years, and I have *just* run into a problem with the digital lines - specifically: --- %% Clear out workspace clear %% Clear out DAQ object delete(daqfind) %% Create Digital I/O Object DIO = digitalio('nidaq', 1) %% Add output lines to Digital I/O     

Group: comp.softsys.matlab · Group Profile · Search for Totallin in comp.softsys.matlab
Author: Michael Gustafson
Date: Sep 15, 2008 20:28

Dear all, I have a problem getting my Acqiris DP310 to work with Matlab 7.5. Installing it works alright: daq.InstalledAdaptors ans = 'aq' 'parallel' 'winsound' 'aq' is my DAQ board. However, the following error occurs when I try to create an AI object from it: AI = analoginput('aq',0); ??? Error using ==> analoginput.analoginput at 99 Error using ==> analoginput
Show full article (1.61Kb)
Okay, here's the info. Matlab 2008a 7.6.0.324 NidaqMX 8.5.0f5 When I execute the following code (to set up the first board): ai2= analoginput('nidaq','Dev1'); addchannel(ai2,0); addchannel(ai2,1); dur = 5; set(ai2,'InputType','SingleEnded'); ai2.Channel.InputRange=[-10 10]; ai2.SampleRate = 5000; set(ai2,'SampleRate', 5000); ActualRate=get(ai2,'SampleRate'); set(ai2,'SamplesPerTrigger'     

Group: comp.softsys.matlab · Group Profile · Search for Totallin in comp.softsys.matlab
Author: Gijs van Soest
Date: Sep 11, 2008 05:50

Sherryl; Thanks for helping me. It is great to "meet" a person willing to help a fellow sufferer. :-) I upgraded to DriverVersion 5.85 and ran daqsupport; the relevant sections of the output are shown below: ____________ ----------Creating analoginput('mcc',1) object for adaptor mcc---------- Display Summary of Analog Input (AI) Object Using 'USB- 1408FS'. Acquisition Parameters
Show full article (12.65Kb)
MATLAB version: 7.5.0.342 (R2007b) Data Acquisition Toolbox version: Name: 'Data Acquisition Toolbox' Version: '2.11' Release: '(R2007b)' Date: '02-Aug-2007' NI-DAQmx 8.0.1f0 AdaptorName: 'nidaqmx' DeviceName: 'PXI-6713' ID: 'PXI1Slot2' Port: [1x1 struct] SubsystemType     

Group: comp.softsys.matlab · Group Profile · Search for Totallin in comp.softsys.matlab
Author: S.J.
Date: Jul 25, 2008 11:09

Dear Sheryl, NI-DAQmx 8.0.1f0 DAQSUPPORT output: ----------nidaq adaptor: ---------- ----------Registering adaptor: nidaq ---------- Successfully registered nidaq adaptor ----------Adaptor Information for adaptor nidaq ---------- adaptorInfo = AdaptorDllName: [1x68 char] AdaptorDllVersion: '2.11 (R2007b)' AdaptorName: 'nidaq'
Show full article (15.14Kb) · Show article thread
This was the issue - thank you very much! "Roger Carlson" wrote: > This may or may not work, but you've declared your variables incorrectly if > you intend them to all be integer. > > This: > Dim positionlines, totallines, shpmntid As Integer > > Should be this: > Dim positionlines As Integer, totallines As Integer, shpmntid As Integer > > or > > Dim positionlines As Integer     

Group: comp.softsys.matlab · Group Profile · Search for Totallin in comp.softsys.matlab
Author: Eric Walton
Date: Jul 9, 2008 07:56

Dim positionlines as Integer , totallines as Integer, shpmntid As Integer Dim dnmbr As String positionlines = Forms!frm_Shipment_Entry!positionlinedefault totallines = 0 dnmbr = Forms!frm_Shipment_Entry!Dienumberdefault shpmntid = Forms!frm_Shipment_Entry!ShipmentID Do While totallines < positionlines totallines = totallines + 1 strSQL = "Insert Into Tbl_Shipments_Dies ( ShipmentID
Show full article (5.87Kb) · Show article thread
This may or may not work, but you've declared your variables incorrectly if you intend them to all be integer. This: Dim positionlines, totallines, shpmntid As Integer Should be this: Dim positionlines As Integer, totallines As Integer, shpmntid As Integer or Dim positionlines As Integer Dim totallines As Integer Dim shpmntid As Integer You are currently declaring your first     

Group: comp.softsys.matlab · Group Profile · Search for Totallin in comp.softsys.matlab
Author: Jason
Date: Feb 8, 2008 07:12

I tried to run your code and it works. Check if the variable positionlines is initialised correctly (i.e. it contains something) "Tammy F" wrote: The code will still not stop on it's own. I'm getting all the right data filled in, just 1,000's of records if I don't hit ctrl + break. What am I missing that won't stop the code? "Steve" wrote: Remove the lines:
Show full article (1.86Kb)
    

Group: comp.softsys.matlab · Group Profile · Search for Totallin in comp.softsys.matlab
Author: Jason
Date: Jan 28, 2008 06:57

Show full article (2.84Kb) · Show article thread
    

Group: microsoft.public.access.modulesdaovba · Group Profile · Search for Totallin in microsoft.public.access.modulesdaovba
Author: Tammy F
Date: Jul 16, 2007 08:56

Show full article (2.09Kb) · Show article thread
    

Group: microsoft.public.access.modulesdaovba · Group Profile · Search for Totallin in microsoft.public.access.modulesdaovba
Author: John Spencer
Date: Jul 16, 2007 08:54

Show full article (2.31Kb) · Show article thread
    

Group: microsoft.public.access.modulesdaovba · Group Profile · Search for Totallin in microsoft.public.access.modulesdaovba
Author: Roger Carlson
Date: Jul 16, 2007 08:21

Show full article (1.89Kb) · Show article thread
    

Group: microsoft.public.access.modulesdaovba · Group Profile · Search for Totallin in microsoft.public.access.modulesdaovba
Author: Paolo
Date: Jul 16, 2007 07:54

Show full article (1.92Kb) · Show article thread
1 · 2 · next