Measurements of components
Hello,
I am almost finished with a large Flex 2.01 project and
wanted to see if there would be any problems with the Application
porting to Flex 3 plus I wouldn't mind trying out some of the cool
features that were implemented. After installing Flex 3, The
Coldfusion Extensions, and the New Cairngorm everything work fine.
So I compiled my Application to take a look an here are a few
things I have noticed so far:
Combo Box component: No Arrow Button and the Selected State
is not rendering correctly.
Measurements on Some buttons are not correct. It seems some
of the text in the button labels are not getting measured correctly
with the label showing up as BUT... instead of BUTTON.
I think there might have been changes in the CSS in Flex that
I have not had a chance to investigate. The custom components and
standard components have been styled with CSS so the problem might
be there.
As far as Flex Builder it seems to be faster at compiling and
the over all performance of the Application has improved
Keep up the great work.
Rich
Hi Rich,
There were some layout changes to Button, which can result it
some labels being truncated. Please see the compatability doc for
more information, and instructions on how to switch to
compatability mode:
http://labs.adobe.com/wiki/index.php/Flex_3:Backwards_Compatibility_Flag
Regarding the ComboBox problems, please log a bug at
http://bugs.adobe.com/flex
Glenn
Similar Messages
-
I don t know the way used to transform a C++ with API program in an MFC application using measurement studio or Labwindows CVI.
Thank you for you help.You can use the Measurement Studio Add/Remove Components Wizard to add Measurement Studio components to your C++ application. For more information, see the "Adding and Removing Components from Measurement Studio Projects Using a Wizard" topic in the Measurement Studio reference. You can find it in the table of contents under:
Visual C++ Help
Tutorials
Measurement Studio for Visual C++ 6.0
If you're using the Measurement Studio update for Visual C++ .NET, this topic will be under:
Visual C++ Help
Tutorials
Measurement Studio for Visual C++ .NET
- Elton -
Exe file will not start using a Measurement studio 2013 component
Hello,
I use Meausrement studio 2013 with visual studio 2012 and vbnet on windows 7.
On a new project (windows form application), i use a form and a ScatterGraph component. I compile, no errors and it works fine.
Now, i try to start this application on a another Windows 7 station. (The framework 4.5 is installed on its station).
The exe file is in a directory with the natrional Instruments dll files.
The exe file will not start, no errors.
PS: Before, with Meausrement studio 2010 and visual studio 2010 all worked fine.Hi, virgule
It sounds like you are using the "Publish" feature in Visual Studio (a.k.a., ClickOnce) for deployment, is that correct? If so, unfortunately ClickOnce is not supported by Measurement Studio components.
If you are looking for a good way to deploy Measurement Studio applications, I would highly recommend upgrading to Measurement Studio 2015, which ships with Measurement Studio Installer Builder. You can read more about this here: http://www.ni.com/white-paper/52669/en/
If you cannot update to Measurement Studio 2015 and are using Visual Studio 2013, NI recommends using WiX for creating your installer. More information on WiX deployment can be found here: http://digital.ni.com/public.nsf/allkb/764B727C9BD2C4C686257C970053D059
Thanks, -
Display and interact with a vi front panel on remote C++ app
Hello:
I am new to LV and need a little advice. I need to display a LabVIEW VI front panel in my C++ .Net application that users can interact with to view real-time spectrum data. The C++ app (client) must reside on a separate computer(s) from the VI so that the client can connect from anywhere around the world and interact with the VI.
I am not sure about the basic architecture that should accompany a good solution. We want to use TCP/IP but not DataSocket. I do not have access to Measurement Studio but I do have access to LabVIEW Professional Development System v 8.2. Can anyone provide suggestions on what I need to do in order to
1. Connect to my TCP server using my C++ client app - I have already written TCP client and server code which communicate but now I need to integrate LV
2. Get access to the VI sitting on that server
3. Send the VI front panel to the client for display
4. Allow the user to modify parameters on the front panel displayed on the C++ client, send those changes back to the server, and refresh the front panel displayed in the C++ client given the new parameters (I would like a real-time display of the spectrum to always be available)
Is this possible? Has anyone done this using C++ .NET in VS2005? Are there examples I can mimic or references that will help direct me? I have searched and searched through NI's help and found a lot of good stuff but I'm still feeling confused about the best way to utilize LV.
Thank you in advance!One more question ... what if I could use Measurement Studio? The documentation seems to indicate that it's easy to create network applications and therefore it would be easy for me to re-create our VI's front panel using Measurement Studio components in my C++ app and then simply connect those components to the networked hardware (TCP/IP or DataSocket) that could be located anywhere in the world.
Depending on what components you are using in your LabVIEW panel, it is probably pretty easy to build a Measurment Studio application to look like a LV panel.
Given that, you could use network shared variables to move data across the network, no TCP programming necessary -- I think that this is pretty easy to do, but I don't know the specifics about variable programming in that environment. Also, you will probably need to add some smarts to the server side to make sure that it is reading to and writing from variables in an appropriate manner.
Question: why can't you just use LabVIEW for the client application also? -
Hi, I have a working project that has a few classes using the NI5411 APIs and now I want to use CNiFgen classes. After adding Core Components(Advanced Analysis, Common) and NI Device Instrument Drivers(NiFgen) from the Measurement Studio Components Wizard. Even when I try to make an object of CNiFgen(CNiFgen cnf I get the following error:
--------------------Configuration: puzzle - Win32 Debug--------------------
Linking...
NiFgenInterfaceD.lib(NiFgenImpl.obj) : error LNK2001: unresolved external symbol _niFgen_SendSoftwareTrigger@4
Output/puzzle.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
puzzle.exe
- 2 error(s), 0 warning(s)
My APIs version is working fine and so are these CNiFgen classes(I have tried then for a dummy project). But, things start getting nasty when I try to integrate them.
Regards,
Vaibhav.It looks like you have a typical linking error in VC++. Have you made sure that all of the necessary .lib files are properly linked to?
Also, are you passing any data between your custom classes and the niFGEN classes? These will take different data types unless you have already type cast all of them to work properly together. If they don't share variables, you should be okay.
Jack Arnold
Application Engineer
National Instruments -
TextFlow and Controller Being Created Too Early?
I've successfully rolled my work with the TextFlow into a
Canvas component, made it into an SWC, and made that part of the
application it was originally designed for. No problems. Alright,
now time to re-use my work in another app. that could benefit from
a rich text component. Went through the usual motions and got all
of my UI for my text component to render except the TextFlow!
Then what I discovered is when I resized the browser window
that hosting my Flex app, the cascade of resize events got the
TextFlow to finish rendering, the scroll bars got adjusted
properly, and it was ready to accept input with the blinking
cursor.
Here is a dump from some trace statements I have in my code,
I'm trying to work out the order in which events are happening and
when the text flow gets proper measurements:
Composer -> Resize -> New TextFlow Dimensions -> W:
0 H: 0
Composer -> Creating Display Controller -> TextFlow
Dimensions -> W: 754 H: 0
Composer -> Created
MessageEditorBase -> Created
MessageEditorBase -> Event Fired -> Resize
MessageEditorBase -> Event Fired -> Show
Composer -> Resize -> New TextFlow Dimensions -> W:
754 H: 0
MessageEditorBase -> Event Fired -> Resize
Composer -> Resize -> New TextFlow Dimensions -> W:
1328 H: 274
MessageEditorBase -> Event Fired -> Resize
Composer -> Resize -> New TextFlow Dimensions -> W:
1328 H: 275
MessageEditorBase -> Event Fired -> Resize
Composer -> Resize -> New TextFlow Dimensions -> W:
1329 H: 276
MessageEditorBase -> Event Fired -> Resize
Composer -> Resize -> New TextFlow Dimensions -> W:
1334 H: 277
MessageEditorBase -> Event Fired -> Resize
Composer -> Resize -> New TextFlow Dimensions -> W:
1350 H: 279
"MessageEditorBase" is a canvas (used as a tab) that gets
displayed to the user. Within that Canvas are lots of components
including the "Composer" which is basically a toolbar of elegant
buttons and format functions, and then a blank canvas which holds a
UIComponent and becomes the DisplayObjectController. Works great in
my other app, the code is nearly line for line with Adobe's
examples.
Notice how it starts 0,0; then gets a width measurement of
754; finally when I the user resize the entire application do the
rest of the proper dimensions get computed.
I don't think it's a TextFlow problem, but I can't say I
understand the Flex rendering hierarchy enough to have implemented
TextFlow and its controller in the right way with this app.
Any thoughts? If you need more information just ask and I'll
try to explain as best as possible.As it turns out with a lot of fiddling and trace statements,
I figured out a way to initialize the DisplayObjectController with
valid pixel values. In your TLF examples, the developers always
created a display object controller using specific dimensions, like
250 x 250. But I need my text component to be created dynamically
based on the screen size of the user. This was not happening
correctly after I upgraded to TLF build 370, though it's not even a
TLF problem.
I took the measurements from the parent canvas. For whatever
strange reason, in the world of measuring Flex components, the
child canvas further down in the application, the one that I added
the sprite to, was not getting measured out correctly. Thus when I
passed the controller width and height values from this child, they
were 0.
I hope that made sense, but either way, problem fixed.
Edit:
Here's an example of my code using a custom controller that
had the keyDown event overriden:
theController = new
ComposerDisplayController(uiFlowComponent, uiTextArea.width,
uiTextArea.height, this);
I passed values which I expected the UI to measure out rather
than me providing explicit pixel values. I had a problem when the
UI gave me zero. -
Zip file out of binary (xstring)
Hi,
I try to compress (zip) binary data (for example a picture) and then give it to a html page. I use the cl_abap_gzip=>compress_binary method and it seems to work. But when I save the zip-file to harddisk over the popup at the html - page, the file could not be opened. WinZip says that it is an unvalid archive.
Can anybody help me?
Here my example coding at the OnInitialization Event of the business server page:
* event handler for data retrieval
* local variables
DATA: xsourcefile TYPE xstring.
DATA: xzippedfile TYPE xstring.
DATA: source_file_mime_type TYPE string.
DATA: xzippedcontentlength TYPE i, xzippedcontentlengthstring TYPE
string.
* References
DATA: o_mime_api TYPE REF TO if_mr_api.
* processing
* +++ Read File from MIME-Repository (binary) +++
CALL METHOD cl_mime_repository_api=>if_mr_api~get_api
RECEIVING
r_mr_api = o_mime_api.
CALL METHOD o_mime_api->get
EXPORTING
i_url = 'SAP/ZGSD_SD_ADIS/test.gif'
* I_CHECK_AUTHORITY = 'X'
IMPORTING
* E_IS_FOLDER =
e_content = xsourcefile
e_mime_type = source_file_mime_type
* E_LOIO =
* CHANGING
* C_LANGUAGE =
EXCEPTIONS
parameter_missing = 1
error_occured = 2
not_found = 3
permission_failure = 4
OTHERS = 5
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* +++ create ZIP-File +++
TRY.
CALL METHOD cl_abap_gzip=>compress_binary
EXPORTING
raw_in = xsourcefile
* RAW_IN_LEN = -1
* COMPRESS_LEVEL = 6
IMPORTING
gzip_out = xzippedfile
gzip_out_len = xzippedcontentlength.
* ... Länge Casten !
xzippedcontentlengthstring = xzippedcontentlength.
* ... Errorhandling
CATCH cx_parameter_invalid_range . " Error-Handling
CATCH cx_sy_buffer_overflow . " Error-Handling
CATCH cx_sy_compression_error . " Error-Handling
ENDTRY.
* +++ Put ZIP-File in Response +++
response->set_data( xzippedfile ).
response->set_header_field( name = if_http_header_fields=>content_type
value = 'application/octet-stream' ).
response->set_header_field( name =
if_http_header_fields=>content_length
value = xzippedcontentlengthstring ).
response->set_header_field( name = 'Content-Disposition'
value = 'inline;filename=test.zip' ).
navigation->response_complete( ).
Thanks TimoI was on vaca, sorry for the late reply.
I can't see the video card but from what I see on the rest of the spec, those stats are extremely low.
An OS (especially modern) consumes 700~1GB RAM itself. Depending on the video cards amount of RAM, if it requires using RAM, you already only have around 1GB to share. So your hard disk will be thrashed on a system like that struggling to keep RAM managed.
The CPU is very slow, in the value line. You can look on several sites which measure various components to see where you fall for performance. For example, Passmark (fairly reliable at quick glance) puts your CPU in the mid to low (value) range and has a score of 808. A mid to high end, standard CPU these days (~$300 range) is around 10,000 and above:
http://www.cpubenchmark.net/midlow_range_cpus.html
1.7GHz is pretty slow and without any Intel-esque turbo boost, the CPU is really going to be sluggish.
I would say that laptop is designed to read email and surf the web. I think it would even struggle to play HD video, let alone render real-time modern Canvas 2d animation with any level of consistency. If you do "anything else" while the animation happens, or if the animation is fairly layered, this machine will bog down. It should be entirely visible in your task managers performance tab. Most likely you'll see the CPU peg out at 100% and memory not far behind it. Take a glimpse.
I think your entire issue is that computer, not CanvasJS/EdgeJS differences. -
Best way to display and interact with a tree
I am trying to create an interface that is similar to the interface on this website for the skill tree:http://www.pathofexile.com/passive-skill-tree. What is the best way to go about doing this and have the same or similar user interaction. ie. you click on a node and it activate or deactivates it. The movement of the tree and zooming on it would be nice as well. I am somewhat new to this and am not familiar with all of the libraries that the SDK has to offer if anyone could give me pointers on where to look that would be great. I would like to try to stay away from webView as I am thinking about features I want to add. Thanks in advance just want to see what a good way to do this is.
One more question ... what if I could use Measurement Studio? The documentation seems to indicate that it's easy to create network applications and therefore it would be easy for me to re-create our VI's front panel using Measurement Studio components in my C++ app and then simply connect those components to the networked hardware (TCP/IP or DataSocket) that could be located anywhere in the world.
Depending on what components you are using in your LabVIEW panel, it is probably pretty easy to build a Measurment Studio application to look like a LV panel.
Given that, you could use network shared variables to move data across the network, no TCP programming necessary -- I think that this is pretty easy to do, but I don't know the specifics about variable programming in that environment. Also, you will probably need to add some smarts to the server side to make sure that it is reading to and writing from variables in an appropriate manner.
Question: why can't you just use LabVIEW for the client application also? -
Hi,
Is it possible to insert a url link into the itunes description tag in a feed. I want the user to be able to access my webpage from within itunes
ThanksIn the next release, we will be making adding our Measurement Studio components to existing projects much easier, but for now what you would need to do is add the support for Measurement Studio to your MFC project manually as detailed in our Knowledgbase at:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/0cb6707522e92c958625689e0052bb77?OpenDocument
Best Regards,
Chris Matthews
Measurement Studio Support Manager -
I am using Visual C++ .NET 2003. The code takes up approximately 600K
of disk space (so you have any idea of the size). First, I compiled,
builded, and executed this program using exclusively floats for all
precision computing. However, I realized for my application that more
precision was necessary; therefore, all the float instances were changed
to double. The program has no trouble compiling and linking, however
when executing it hangs with the error: System.NullReferenceException
(debug mode).
It ran perfectly before changing from float to double. This was the only
change made; the only other changes were casts from double to float
used when absolutely necessary. Also, there is something strange: When
adding and removing more global identifiers (which do absolutely
nothing), the program seems to freeze at different execution points, so
it seems unlikely that there is a failed reference; but I could be wrong.
Does anyone see what the problem is right away? Sounds like some sort of
memory corruption, perhaps? A loading problem? The heap?
Does anyone have any idea what this could be? I'll try anything at this
point!
Thanks in advance!!Hi Terrence,
Are you using any components of Measurement Studio? Can you isolate this error to a particular line of code? This is on the development computer, right?
If you are not using any Measurement Studio components, you may want to also post on a .NET forum. Here is some additional information about this error:
http://msdn2.microsoft.com/en-us/library/system.nullreferenceexception(VS.71).aspx
http://codebetter.com/blogs/raymond.lewallen/archive/2005/06/23/65033.aspx
Cheers,
David Goldberg
National Instruments
Software R&D -
We have some internal desktop processing software that is based on a registered but legacy NI Measurement Studio Components 1.0.1 and has these specific code dependencies in the form of some C/C++ headers, associated general libraries and exact library calls (extracted from the linker by temporarily NOT including any NI libs):
Source dependencies:
../MeasurementStudio/VC/Include
../MeasurementStudio\cvi\include
Library dependencies (directories and the specific libs listed separately):
../MeasurementStudio/cvi/bin
../MeasurementStudio/VC/Lib
ivi.lib
NiInterfaceD.lib
instrsup.lib
Individual function dependencies:
"public: virtual __thiscall NI::CNiNumEdit::~CNiNumEdit(void)"
"public: __thiscall NI::CNiNumEdit::CNiNumEdit(void)"
"public: double __thiscall NI::CNiNumEdit::GetValue(void)"
"public: static enum NI::MathError __cdecl NI::CNiMath::Median(class NI::CNiVector const &,double &)"
"public: void __thiscall NI::CNiNumEdit:etValue(double)"
"public: __thiscall NI::CNiVectorAccessException::CNiVectorAccessException(bool)"
"public: virtual __thiscall NI::CNiSafeArrayProxy::~CNiSafeArrayProxy(void)"
"void __cdecl NI::CreateVectorVariant(struct tagVARIANT *,unsigned short,unsigned int)"
"public: virtual __thiscall NI::CNiVector::~CNiVector(void)"
"public: virtual __thiscall NI::CNiVector::~CNiVector(void)"
"protected: __thiscall NI::CNiVector::CNiVector(void)"
"public: __thiscall NI::CNiVectorAccessException::CNiVectorAccessException(class NI::CNiVector const &,unsigned int,bool)"
"protected: void __thiscall NI::CNiDataProxy::Init(unsigned int,unsigned int)"
"public: static enum NI::MathError __cdecl NI::CNiMath:olynomialEval(class NI::CNiVector const &,class NI::CNiVector const &,class NI::CNiScalarVector<double> &)"
"public: __thiscall NI::CNiPlots::~CNiPlots(void)"
"public: void __thiscall NI::CNiPlot:lotXvsY(class NI::CNiVector const &,class NI::CNiVector const &)"
"public: class NI::CNiPlot __thiscall NI::CNiPlots::Item(long)"
"public: class NI::CNiPlots __thiscall NI::CNiGraph::GetPlots(void)"
"public: bool __thiscall NI::CNiNumEdit::GetDiscrete(void)"
"public: virtual __thiscall NI::CNiGraph3D::~CNiGraph3D(void)"
"public: __thiscall NI::CNiGraph3D::CNiGraph3D(void)"
"public: void __thiscall NI::CNiGraph3D:lot3DSimpleSurface(class NI::CNiMatrix const &)"
"public: __thiscall NI::CNiMatrixAccessException::CNiMatrixAccessException(bool)"
"protected: void __thiscall NI::CNiMatrix:etSizeExtents(unsigned int,unsigned int)"
"void __cdecl NI::CreateMatrixVariant(struct tagVARIANT *,unsigned short,unsigned int,unsigned int)"
"public: virtual __thiscall NI::CNiMatrix::~CNiMatrix(void)"
"protected: __thiscall NI::CNiMatrix::CNiMatrix(void)"
"public: virtual __thiscall NI::CNiGraph::~CNiGraph(void)"
"public: __thiscall NI::CNiGraph::CNiGraph(void)"
"public: void __thiscall NI::CNiGraph::ClearData(void)"
"public: void __thiscall NI::CNiPlot::ClearData(void)"
The questions are:
· What is our upgrade path to Windows 7 with VS2008 or VS2010?
· What is our upgrade path to the latest Measurement Studio 2010?
We are unable to install the 1.0.1 on Windows 7 and according to other postings, appears to be related to it being a 16-bit installer.Thanks Sean. That confirms our path and that we should migrate to the latest MS2010.
However, one follow-up question would be what level of licence we might need given these legacy dependencies or requirements shown i.e. I understand not easy but is it possible to get any clue from the old libs and function calls below what edition we might need, for example, would this type of functionality be covered by the standard edition MS2010?
NI::CNiMatholynomialEval()
NI::CNiPlot:lotXvsY()
NI::CNiGraph::GetPlots()
NI::CNiGraph3D::CNiGraph3D()
NI::CNiGraph3Dlot3DSimpleSurface()
NI::CNiGraph::CNiGraph()
NI::CNiMatrix()
NI::CreateMatrixVariant()
A more wider reaching question is to understand how all the functionality in the old three libraries (ivi.lib, NiInterfaceD.lib, instrsup.lib) maps very approxiamately to the new license editions i.e. which edition would cover all the functionality in these three legacy libaries.
Thanks again. -
Configuring CWPulse and CWCounter with DAQ device
I am using VB with Measurement studio components and a DAQ E6024 card. I have set up a counter which is triggered by hardware at gate PFI9 and which uses an internal clock as a source. I then set up a pulse which will be generated on the GPCTR0_OUT line out of the counter once it has finished. When I configure both counter and pulse in the code, I get an error saying that two many controls are configured for this device and that I need to reset one of the controls before configuring any other controls. So how do I make sure all the properties are set without configuring both components? Many thanks in advance.
Greetings,
As this error indicates, a counter can not be configured for two operations at one time. So, you can assign the properties for CWCounter and CWPulse, call CWCounter.Configure, perform your counting operation, call CWCounter.Reset, and then call CWPulse.Configure. Since you want the counter to output a pulse when it finishes counting, you will need to reset CWCounter before you configure CWPulse.
Good luck with your application.
Spencer S. -
Interact with App data ?
Is there any way to interact with the data created by the iPhone Apps. ?
Example; is there a way to edit one of the "notes" files and have those edits sync back to the iPhone ?
Or perhaps a way to edit the photos that the iPhone takes and save the files back (sync) ?
I kinda doubt it but a good question, I think ?
ThanksOne more question ... what if I could use Measurement Studio? The documentation seems to indicate that it's easy to create network applications and therefore it would be easy for me to re-create our VI's front panel using Measurement Studio components in my C++ app and then simply connect those components to the networked hardware (TCP/IP or DataSocket) that could be located anywhere in the world.
Depending on what components you are using in your LabVIEW panel, it is probably pretty easy to build a Measurment Studio application to look like a LV panel.
Given that, you could use network shared variables to move data across the network, no TCP programming necessary -- I think that this is pretty easy to do, but I don't know the specifics about variable programming in that environment. Also, you will probably need to add some smarts to the server side to make sure that it is reading to and writing from variables in an appropriate manner.
Question: why can't you just use LabVIEW for the client application also? -
Thermocoup​le in USB-6210
Hi,
I would like to know how can I read temperature in a USB-6210 device with thermocouples. Labview 8.5 don´t recognize thermocouple tasks. Is it necessary configure a CJC? How can I do it?Hi VAIronman,
I'm not sure why the previous poster posted in the digitizers forum back in the day, as the USB-6210 is an M Series DAQ device and would probably receive better responses within the Multifunction DAQ support forum. However, I may be able to provide some suggestions from my previous experience with the DAQ products.
In terms of his sensors, if they are thermocouples or thermistors, we have specific tasks in DAQmx made to measure these components. Essentially, we are taking a voltage measurement from them, but the tasks will automatically scale and convert the data into the appropriate temperature based on the configuration you set for the specific thermocouple or thermistor that is being used. If the client is using LabVIEW, the easiest method would be to drop down a DAQ Assistant Express VI on the block diagram, and create a task based on the measurement he is making. For one of the temperature sensor types, he can choose Acquire Signals » Analog Input » Temperature and then select one of the sensor types he is using.
Click "Next" then select the channels to acquire on (hold shift and click the channel names to select multiple channels). Click "Finish" to complete the wizard and enter the channel configuration.
Here you can configure everything specific to your sensor and measurement. The best part is, there is a tab at the top labeled "Connection Diagram". If you select this tab, you will see exactly how to wire each channel.
For the other two channels connecting to the analog output source, you probably want to configure those as just a standard Voltage task. The same connection diagram can be found in the DAQ Assistant, but note that the connection will change depending on how you configure the terminal configuration. You can select between differential, referenced single-ended (RSE), and non-referenced single-ended (NRSE), each of which will change how the device is to be connected. The image below shows a channel being connected in differential mode.
If you have any specific questions further related to this device, I would suggest posting in the Multifunction DAQ forum linked above. If you have questions regarding the DAQ Assistant or DAQmx tasks, I would also suggest doing a few quick searches on ni.com or visiting the Getting Started with NI-DAQmx: Using the DAQ Assistant tutorial. Additionally, it may be worthwhile taking a look at the USB-621x User Manual, which has a lot of in-depth information on the device and different measurements it is capable of. Note that the DAQmx task creation above can also be performed in Measurement and Automation Explorer by right-clicking the device and selecting "Create Task..." Hope this helps!
Daniel S.
National Instruments -
VC6 CEditView and Print Preview Questions
I've got 2 questions that I would greatly appreciate some help on, as it
relates to a MDI app that I wrote using VC6.
1. I've got an edit view in the app which displays a report, and I've added
the option of letting the user select which font to display the report in.
Unfortunately, the print preview does not reflect any of the font changes,
not even if I hard code a font change in initially, the font
remains the same in Print Preview. I'm using SetFont to set the font. I'm
calling CEditView:nPrintPreview to generate the print preview. Any ideas
how to fix this?
2. I'm trying to add a header and a footer to each page of the report. Is
there any way to retrieve the information from the edit view in terms of the
pages, or
is there another way to accomplish the headers and footers easily?
Once again, thanks for any help you can give me.
NickHello Nick,
Are there specific questions you have regarding use of NI Measurement Studio components? They're usually prefixed with CNi*...
If your questions are specifically related to the CEditView, you will probably have better luck on the Microsoft discussion forums.
David Mc.
NI Applications Engineer
Maybe you are looking for
-
FCP 5 on Mac Pro 2.66 GHz Dual-Core - project won't open
I feel SICK. I bought this Mac Pro and a new monitor, transferred all my data from my iMac and tried to open my FCP 5 project and what opened was a "new" project screen... yet there was a tab with my project's name on it as if it should have been the
-
Airport Extreme with Airport Express for extending WiFi Network...
I have had an iMac for quite a few years now and never needed WiFi until this week. I purchased a Macbook Air, an Airport Extreme and an Airport Express over the last 24 hrs. I opened the Airport Extreme first and followed the somewhat easy installat
-
How do I connect my MFC-J630w brother printer to my ipad?
My brother printer is not an AirPrint is there any other way to connect it to my ipad2 ?
-
Every Time I Try To Print a Page With Graphs on it, Numbers Freezes
Just like the title says. Every time I try to print or render as PDF, it freezes. Doesn't appear to happen in any other iWork app.
-
My arrow cursor stopped working it is frozen and I can't save my file
MMy cursor arrow became a line with a v at top and bottom and does not let me click to save or get out of my word doc. I use the mouse pad and it moves this new symbol but does not engage. How do,I save my file and close it.