Why NEITHER cDAQ-9178 isn't in the DAQmx device simulated in MAX?
Hi all
I want to create a device that simulated for cDAQ-9178. But Max, I could not find it. It lists only NOR cDAQ-9172. I have the version of NOR-DAQmx 8.9.5.
Thank you
Raja
LV 2009
Hello Dennis,.
NEITHER cDAQ-9178 is listed under DAQmx 9.0.2 supported device.
Thank you
Raja
Tags: NI Software
Similar Questions
-
Can not find the daqmx device in project
- In my project, which is great, now I can't access physical peripheral DAQmx using constants, the controls or express DAQ VI help.
- When I try to use a constant or control [DAQmx physics channel] or [the DAQmx device name] no device appears.
- LabVIEW stop half the time when I try to open the constant [DAQmx physics channel] or [DAQmx Device Name] project.
- When I use NI MAX I can see the device, and control.
- The unit is a box of data acquisition National Instruments M 6289 USB series. I have only this style of machine. I have two of 6289 and have tried both.
- If I create a new VI not in my project it works.
- I've updated the NEITHER-DAQmx software on my PC and found no change.
There the project settings for DAQmx? I can't found.
Everyone comes through this?
LabView 2014 f1
Measurement and Automation explore 15.0
NOR-DAQmx ADE 15.0.1 support
NOR-DAQmx Base 3.4.5
NOR-DAQmx Device Driver 15.0.1
NOR-DAQmx Max Configuration 15.0.1
Material:
Model: NI USB-6289 M Series data acquisition device
Calibrated: 10 June 2017
Driver version: 15.0.1f3
Driver name: NOR-DAQmx
System:
Dell Vostro 460
CPU i7-2600
memory 8 GB of ram
Operating system Windows 7 pro
This error is cleared after two days. I'm unable to replicate. regardless of the question has been reset is not a cure.
It's the second mystery LabVIEW question who cause great suffering which allowed himself without any reason.
-
Hello. I wrote two programs for the NOR cDAQ-9178 that work perfectly, but now I would like to combine... and users the ability to perform a measurement of the temperature (module NI 9214) or a measure of tension (NI 9201 module). I tried to use an Enum to a case Structure control, where the
user can choose either 'Measure the temperature', or 'Measure the tension', but during execution of the program, only the before user input panel opens and the program stops. Could someone please look at the code below and give me advice on the placement of my two programs in a structure of case? Each program contains two screws... a Subvi user input and a measure vi. Is it possible for me to drag the temperature and tension screw in the structure of matter? Thank you.
FYI - I am reposting this, because I couldn't get tethering to work on my previous post
I found my solution. I had to right click on the Subvi vi... 'Subvi node Setup' and select set the front panel
-
Push the message undeliverable to the live Device - Simulator (Eclipse) works
My app works great on different simulators, receive messages from my server (all on localhost). However, I can't make it work when I plug in my phone via USB. I select my phone in the list of Blackberry devices and then installs the application, starts the listener in the background and I can open the user interface. Messages are delivered to the MDS, but they then fail with the message:
PushServlet: FAILURE - cannot map device XXXXX a host to the PDAP.
I tried to add my device Simulator "rimpublic.property" section, but that didn't work either: I think that it comes to queue messages.
Any advice?
Thank you
Karl
I found the answer. It is the combination of two things:
(1) I had to use 'ApplicationManager.getApplicationManager () .inStartup ()' to delay my code from running until the aircraft was ready.
(2) I tried to debug using my direct phone with an SDM server on my laptop (localhost). I never had this work, but once I opted for the reality of the BES server, the debugger kicks and everything worked as expected.
Karl
-
Why my sensitive site isn't recognizing the breakpoint for a layout of phone?
I built a site using the new version of reagent of Muse with a breakpoint 530 for the smaller version. When I view the site on a phone, the entire page is piled up in the left side of the screen, leaving a huge white margin on one side. Even if I have the header and footer set to fill the width of the browser, they do not. Also, in order to get the home page to fill a screen of the Tablet, I turn everything first, then again.
All content must match this width 530. If you have objects that are larger than that (or who protrude outside the width of the browser when it is reduced to the width of the device), the mobile browser will zoom out to view the entire width of the page content. The result is what you have described. Correctly converted page to the width of the target, but then the mobile browser zoom out to view the entire width of the page and the content ends up being a narrow column on the left.
-
I am trying to create a development machine, where we can test the new code without using our physical hardware. I followed this guide to set up a system of simulation. I get to step 3.2 b, but the device does not appear in the DAQ assistant. MAX, the device self test and gites calibrated successfully, and when I open the test panels, I see some sort of signal. I guess that's a default entry simulated since I didn't that device to look for anything? Note that two devices, I am creating the show upward into the devices section and Interfaces, but that, even after running auto calibrate, automatic Calibration date is not yet specified.
When I try to test the device and create a voltage according to the guide, I can't see a device in the creator of data acquisition task.
Steps 1 and 2 of this guide are of course met. Step 3 is not, but this is not surprising because a simulated device is in device in any case manager. Also, I'm not under RT, so step 4 is satisfied.
Someone at - it ideas?
That would be because the PXI-5124 is a digitizer not an analog input device. You must use the NI SCOPE not NOR DAQmx driver
-
Custom BrowserField appears in the real device Simulator only
Hey guys, I got some piece of code that I can use to display HTML data stored in a variable. It worked fine in the Simulator, but when I tried to view it on a real device (I use 8900), it shows nothing.
Here is the code (HTMLField.java): (I use the code here: http://supportforums.blackberry.com/t5/Java-Development/Display-HTML-in-a-Screen-Field/td-p/335074/p...)
package app; import java.io.IOException; import javax.microedition.io.HttpConnection; import net.rim.device.api.browser.field.BrowserContent; import net.rim.device.api.browser.field.Event; import net.rim.device.api.browser.field.RedirectEvent; import net.rim.device.api.browser.field.RenderingApplication; import net.rim.device.api.browser.field.RenderingException; import net.rim.device.api.browser.field.RenderingOptions; import net.rim.device.api.browser.field.RenderingSession; import net.rim.device.api.browser.field.RequestedResource; import net.rim.device.api.system.Application; import net.rim.device.api.ui.Field; import net.rim.device.api.ui.UiApplication; import net.rim.device.api.ui.component.Status; import net.rim.device.api.ui.container.VerticalFieldManager; import net.rim.device.api.io.http.HttpHeaders; /** * A field which displays HTML content. * @author Febiyan Rachman */ public class HTMLField extends VerticalFieldManager implements RenderingApplication { private String data; private static final String REFERER = "referer"; private RenderingSession renderingSession; private HttpConnection currentConnection; private Field field; /** * Default constructor * @param data */ public HTMLField(String data) { this.data = data; renderingSession = RenderingSession.getNewInstance(); // Enable JavaScript renderingSession.getRenderingOptions().setProperty(RenderingOptions.CORE_OPTIONS_GUID, RenderingOptions.JAVASCRIPT_ENABLED, true); } /** * Start parsing thread */ public void parseHTML() { if(!data.startsWith(""; HTMLFieldConnection thread = new HTMLFieldConnection(data, null, this); thread.start(); } /** * Parse HTML * @param data */ public void parseHTML(String data) { this.data = data; if(!data.startsWith(""; HTMLFieldConnection thread = new HTMLFieldConnection(data, null, this); thread.start(); } /** * * @param connection * @param event */ public void processConnection(HttpConnection connection, Event event) { // Cancel previous request if (currentConnection != null) { try { currentConnection.close(); } catch (IOException e1) { } } // Set the current connection to the created connection currentConnection = connection; BrowserContent browserContent = null; try { browserContent = renderingSession.getBrowserContent(connection, this, event); if (browserContent != null) { // Create a field which displays the HTML content Field newField = browserContent.getDisplayableContent(); // Add field to this manager if (newField != null) { if(field != null) { synchronized (UiApplication.getEventLock()) { replace(field, newField); field = null; field = newField; } } else { synchronized (UiApplication.getEventLock()) { add(newField); field = newField; } } } // Finish! browserContent.finishLoading(); } } catch (RenderingException renderingException) { System.out.println("RenderingException : " + renderingException); } catch (Exception exception) { System.out.println("Exception : " + exception); exception.printStackTrace(); } } /** * @see net.rim.device.api.browser.field.RenderingApplication#eventOccurred(net.rim.device.api.browser.field.Event) */ public Object eventOccurred(Event event) { int eventId = event.getUID(); switch (eventId) { case Event.EVENT_URL_REQUESTED: { HTMLFieldConnection thread = new HTMLFieldConnection(data, null, this); thread.start(); break; } case Event.EVENT_BROWSER_CONTENT_CHANGED: { break; } case Event.EVENT_REDIRECT: { RedirectEvent e = (RedirectEvent) event; String referrer = e.getSourceURL(); switch (e.getType()) { case RedirectEvent.TYPE_SINGLE_FRAME_REDIRECT: // Show redirect message Application.getApplication().invokeAndWait(new Runnable() { public void run() { Status.show("You are being redirected to a different page..."); } }); break; case RedirectEvent.TYPE_JAVASCRIPT: break; case RedirectEvent.TYPE_META: // MSIE and Mozilla don't send a Referrer for META Refresh. referrer = null; break; case RedirectEvent.TYPE_300_REDIRECT: // MSIE, Mozilla, and Opera all send the original // request's Referrer as the Referrer for the new // request. Object eventSource = e.getSource(); if (eventSource instanceof HttpConnection) { referrer = ((HttpConnection) eventSource).getRequestProperty(REFERER); } break; } HttpHeaders requestHeaders = new HttpHeaders(); requestHeaders.setProperty(REFERER, referrer); HTMLFieldConnection thread = new HTMLFieldConnection(this.data, event, this); thread.start(); break; } case Event.EVENT_CLOSE: break; case Event.EVENT_SET_HEADER: // No cache support case Event.EVENT_SET_HTTP_COOKIE: // No cookie support case Event.EVENT_HISTORY: // No history support case Event.EVENT_EXECUTING_SCRIPT: // No progress bar is supported case Event.EVENT_FULL_WINDOW: // No full window support case Event.EVENT_STOP: // No stop loading support default: } return null; } public int getAvailableHeight(BrowserContent browserContent) { return 0; } public int getAvailableWidth(BrowserContent browserContent) { return 0; } public String getHTTPCookie(String url) { return null; } public int getHistoryPosition(BrowserContent browserContent) { return 0; } public HttpConnection getResource(RequestedResource resource, BrowserContent referrer) { return null; } public void invokeRunnable(Runnable runnable) { } }
BrowserApp.java
package app; import net.rim.device.api.ui.Field; import net.rim.device.api.ui.FieldChangeListener; import net.rim.device.api.ui.UiApplication; import net.rim.device.api.ui.component.ButtonField; import net.rim.device.api.ui.component.EditField; import net.rim.device.api.ui.container.MainScreen; /** * @author Febiyan Rachman */ public class BrowserApp extends UiApplication implements FieldChangeListener { HTMLField htmlField; EditField textField; public static void main(String[] args) { // TODO Auto-generated method stub BrowserApp app = new BrowserApp(); app.enterEventDispatcher(); } /** * Default constructor */ public BrowserApp() { MainScreen screen = new MainScreen(); screen.setTitle("Browser Test"); htmlField = new HTMLField(""); //screen.add(); textField = new EditField("Tes : ", ""); ButtonField button = new ButtonField("click", ButtonField.CONSUME_CLICK); button.setChangeListener(this); screen.add(textField); screen.add(htmlField); screen.add(button); pushScreen(screen); } // parseHTML and display it public void fieldChanged(Field field, int context) { // TODO Auto-generated method stub htmlField.parseHTML(textField.getText()); } }
HTMLFieldConnection.java
package app; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.microedition.io.HttpConnection; import net.rim.device.api.browser.field.Event; public class HTMLFieldConnection extends Thread implements HttpConnection { private long streamLength = 7000; private DataInputStream dataInput; private InputStream in; private String encoding = "text/html"; private HTMLField htmlField; private Event event; private String data; /** * Default * @param data * @param event : event object for eventOccured() function * @param htmlField : HTML display field */ public HTMLFieldConnection(String data, Event event, HTMLField htmlField) { this.data = data; this.htmlField = htmlField; this.event = event; } public String getURL() { return ""; } public String getProtocol() { return ""; } public String getHost() { return ""; } public String getFile() { return ""; } public String getRef() { return ""; } public String getQuery() { return ""; } public int getPort() { return 0; } public String getRequestMethod() { return ""; } public void setRequestMethod(String s) throws IOException { } public String getRequestProperty(String s) { return ""; } public void setRequestProperty(String s, String s1) throws IOException { } public int getResponseCode() throws IOException { return 200; } public String getResponseMessage() throws IOException { return ""; } public long getExpiration() throws IOException { return 0; } public long getDate() throws IOException { return 0; } public long getLastModified() throws IOException { return 0; } public String getHeaderField(String s) throws IOException { return ""; } public int getHeaderFieldInt(String s, int i) throws IOException { return 0; } public long getHeaderFieldDate(String s, long l) throws IOException { return 0; } public String getHeaderField(int i) throws IOException { return ""; } public String getHeaderFieldKey(int i) throws IOException { return ""; } public String getType() { return "text/html"; } public String getEncoding() { return encoding; } public long getLength() { return streamLength; } public InputStream openInputStream() throws IOException { return in; } public DataInputStream openDataInputStream() throws IOException { return dataInput; } public void close() throws IOException { } public OutputStream openOutputStream() throws IOException { return new ByteArrayOutputStream(); } public DataOutputStream openDataOutputStream() throws IOException { return new DataOutputStream(new ByteArrayOutputStream()); } public void run() { try { in = new ByteArrayInputStream(data.getBytes("UTF-8")); dataInput = new DataInputStream(in); } catch (Exception e) { System.out.println("HttpConnectionImpl : Exception : " + e); } this.htmlField.processConnection(this, this.event); } }
Is there something wrong with it?
Yes, as I finally tried again and again, it seems that the OS 5 does not support old stuff like that, it has its own browserfield2.
-
Difference between the cDAQ-9174 and cDAQ-9178
I have several cRIO-9081. Each cRIO-9081 running NOR-DAQmx 15.5. On four of the cRIO-9018 we show you cDAQ - 9178 with 8 modules. Everything just worked. On the fifth cRIO-9018, we tried to connect a cDAQ-9174. The aircraft appeared in the Windows Device Manager and MAX, but MAX has indicated that the aircraft was missing (error-88705) and that Windows can't find a driver for the instrument.
We then plugged a cDAQ-9178 in the fifth cRIO and everything just worked.
What is the difference between a cDAQ-9174 and cDAQ-9178 other than the number of the module support?
Paul
Hi Paul,.
It seems it could be a driver problem! What DAQmx version you have installed on two computers? Reinstall the latest version may be worth it because it looks like there may be corruption. You can find the latest version here: http://www.ni.com/download/ni-daqmx-15.5/5901/en/
You can manually associate the device driver, here: http://digital.ni.com/public.nsf/allkb/5B80CAAA64413B4C86256C5E0000C1A7
There are modules connected to the cDAQ chassis?
Also, sometimes, this can happen if you do not restart your computer after the installation of the NOR-DAQmx driver. Restart your computer after the driver installation will allow you to reserve the device successfully. Here are a few others not to try:
- Check the charger to device OR to see if it is running
- Reset the service OR charger
- Reset the MAX Configuration database
- The system power cycle
-
Hello
The NOR-9263 analog output voltage geberation works correctly with the cDAQ-9178 chassis but gives wrong result using the chassis NOR cDAQ-9172.
In the attached code example, a single cycle of a sine wave is composed of 40000 samples and came out in the background using Every_N_Samples at a rate of production of 5000 samples per second.
The output buffer size is set to 10000 samples.
Prepare us the buffer writing 10000 samples 1, then write the remaining data in the background using the Every_N_Samples callback.
Bug: Using the cDAQ-9172 chassis, to the 5000 s/s sampling rate with the help of an external field (or through closure to another HAVE), we observed that 1 10000 samples came out twice, followed by the rest of the waveform. The last 10000 samples are never exits. If you are working properly, we would expect to see 1 full cycle of a sine wave.The bug does not occur with the chassis NOR cDAQ-9178. I use the driver NIDAQmx v9.2.1f0 on Windows XP
The bug does not happen with simulation devices, so you will need to use harwdare real to reproduce.Please find attached an example of code C based on the example program OR "ContGen - IntClk.c" to reproduce this bug.
Thank you
whemdan,
The MathWorks
Hi whemdan,
By default, DAQmx regenerate old samples if no new data is available. To give the correct behavior, you can:
Use DAQmxSetWriteRegenMode to disable the regeneration (DAQmx_Val_DoNotAllowRegen). In most cases, this is recommended if new data are written continuously in the buffer as the build is in progress.
If you just need to generate 40 k samples, you can write them just all at once, rather than in 10 pieces of k (the code you attached probably is just an example, so I'll assume that you have a reason to write the data into segments in your actual code).
I think the difference in behavior between 9172 and 9178 can if explained by the different way, buffering is set up on each product. The 9172 uses a buffer of 8 k (on the STC2) in all cases (source). The 9178 uses an 8 k of memory buffer (on the STC3) If you use regeneration shipped, but uses the 127 samples FIFO cartridge, if you use no on-board regeneration (source).
Then... on the 9172 8191 samples are immediately transferred to the FIFO. By default, the hardware is going to request new data when the FIFO is less to fill (this is configurable with DAQmxSetAODataXferReqCond). I'm not sure what the transfer data request size is in your case (you can set the maximum value with DAQmxSetAOUsbXferReqSize), but obviously it is bigger than the other 1809 samples that you have not yet sent to the Board of Directors of your first entry. At this point, the pilot will regenerate 10 existing k samples so that sufficient data will be available to meet the demand of data transfer.
The 9178 however use the FIFO of 127 smaller samples so you will not have the same behavior in your case.
In summary, the behavior is explainable by the difference of material. If you want to avoid to regenerate old samples, you should ban the regeneration using DAQmxSetWriteRegenMode.
Best regards
-
USB-6341 not on the list of simulation devices
I want to create a USB-6341 siumulated, but this model is not in the list of available under devices simulated in MAX X series devices. I don't see in the devices of series X available for the simulation are PCIe devices. I have MAX 4.7, 9.1.5 DAQmx and LabVIEW 2010. I did this on other computers running older versions of the software and saw this device on the list, so there must be a software component that I have installed, but I can't understand what it is. Any suggestions?
Richard
Material of the series X USB were not released before DAQmx 9.2; you need at least this version in order to use a simulated.
-
Slow outputs analog on the cDAQ-9178
My control of the C language application calls the DAQmx API 200 times per second to update some AOs, using the following call:
DAQmxWriteAnalogF64 (taskHandle,
1, TRUE, 0.0, DAQmx_Val_GroupByScanNumber, data, NULL, NULL);
On a system with a single chassis cDAQ-9178 and two modules OR 9264 AO, it works correctly with a task of up to 4 channels. If I add channels to the AO job, the flow slows down below 200 Hz (5 ms). Here are the times:
Chans ms
8 6.8
16 13.4
32 26.9
How can I write 1 sample per channel, more than 32 channels, all 5 ms? It's a control application that meets the entries, so I can't write several samples per call.
Thank you.
-
new cDAQ-9178 chassis was smaller than the cDAQ-9172 old buffer?
Digital waveform features:
Waveform acquisition (DI) FIFO for cDAQ-9172: 2047 samples
Waveform acquisition (DI) FIFO for cDAQ-9178: 127 samples per slot
This means that the new HW (9178) has a much smaller than the old buffer (9172)!
I want to run a correlation over generation/acquisition at 2 MHz with 2000 samples. Does this mean that the new chassis will not be able to acquire the whole of the data (I use a NI 9401 module inside the chassis)?
FIFO sizes are misleading and not a true indicator of the chassis supporting the streaming is not the single buffer. We did some tests comparing the latest and cDAQ-9172 chassis. You will not notice the difference, especially with your application to a finished task of 2 000 samples at 2 MHz. With 2 000 samples, you can run your DI task on your chassis cDAQ-9178 at 10 MHz if you wanted without problem (don't try with continuous or even finished tasks).
The only time where the FIFO size really comes into play is when you run a primary task at high rates, say > 5 MHz, even if it is system dependent. At these speeds a FIFO that is deeper 2 000 samples you buy only tens or hundreds of additional microseconds when Windows jitter is measured in milliseconds.
I would be very surprised if there is a practical application that worked on a cDAQ-9172 chassis which did not work on newer USB cDAQ chassis.
-
cDAQ 9178 simultaneous independent loops counters?
I have a cDAQ 9178 wherein I am scanning in various mainly analog channels, but also unique sending digital outputs. These tasks are started during the execution of the program and basically scan continuously, filling variables according to the needs.
In addition to this, I needed to count impulses and the only way I managed to do that work was to begin the task of counter when necessary, and then stop it. This happens at the same time (within a state machine) and works very well.
Now, I want to add a second counter, which will take place if necessary (same scenario, task of beginning, read the pulses, work stoppage).
So in summary, I have to:
Main outputs and analog loop, digital inputs, tasks began before the great loop and continuously, work stopped only after the termination of the program. (works fine)
Counter task began when necessary, stopped when necessary, of the main inside while loop. (works fine).
2nd job counter starts when necessary... (I was wondering if it will work)?
Should it be a problem?
Jeff
Hi Jeff,
I don't think that you will have problems with that. To test this, I took an example of the meter and it - create two tasks, each using a counter of the device even duplicated and I has not encountered any errors. That said, the best way to check for your application would be to add a second straightforward and test it. As long as it works, there is no problem even if your final configuration can be much more complex.
Kind regards
Trey C.
-
Connect a cRIO-9081 a cDAQ-9178
I want to connect a cDAQ-9178 chassis to a cRIO-9081USB port.
The cRIO-9081 has Windows Embedded 7 on it. I wrote a LabVIEW FPGA program that is loaded in the cRIO FPGA. Once started the FPGA, FPGA ignores basically on the side of Windows, very minimal data exchange.
I want to use the side WIndows to run a program cDAQ. I have to do it this way because the cRIO has 7 modules inside and the cDAQ has 7 modules.
Whenever I insert the 14.5 of NOR-DAQmx CD into a CD drive on the cRIO, I see that the cRIO drivers. How can I get the cDAQ drivers installed?
I was able to work around the problem by copying the DAXmx on a USB and install from there.
-
Why 64-bit flash is still in the sandbox?
Why 64-bit flash is still in the sandbox?
You are right. Protected mode Flash Player for Firefox on Windows is specific to 32-bit versions of Firefox.
Mozilla is not currently focused on Firefox 64-bit public decision-making, and the Firefox 64-bit user population is very low. Implementation of sandboxing for 64 - bit is not trivial, and we try to focus our efforts where they generate the most benefits for the greatest number of people. At this stage, implementation for Safe_mode on 64-bit Firefox isn't the best use of our limited engineering resources.
Maybe you are looking for
-
I can't get my favorite browser whatever it is. I can change my previously saved, but new just do not occur. Yes, it is to date, the latest update available. And Yes, I went through the troubleshooting and resetting firefox to its original settings.
-
How to password protect a USB key or drive?
I need to password protect USB key and maybe USB HDs too, how to do this. Is it possible to do using something native under Mac OS X, or do I have to use something else?
-
Tecra S5 PTS53E - mSata SSD compatibility
Hi all I have a Toshiba Tecra s5 PTS53EI want to know if the motherboard on my map of msata suport laptop inside the laptop, on the motherboard about HDD is a slot like a mSata slot but I don't know. is write anything there that can guide me.How. ide
-
HP Pavilion dv5-1225et Enterta: Ram upgrade
HP Pavilion dv5-1225et Entertainment I want to improve my Ram memory with new ones. My ram orjinial (1 * 2 GB of ram) will change with 2 * 2 GB of ram. However, ı don't know who I have to take. Can someone help me with this. Do you have any suggestio
-
Scan to computer HP4620 e-all in one
I can't get my HP e-all in one 4620 to scan to my computer. Message from CRO is not connected. How can I fix it?