f



Re: is there a way to set table entries to 'center justify' using property nodes in LabVIEW

LabviewGuru:
I followed your instructions and have it all set up, but when I run the program I get two errors:
1.  Error 1057 occured at To More Specific Class
Possible reason(s):
Type mismatch: object cannot be typecasted to the specific type
2.  Error 1055 at Property Node (The string property node)
Possible reason(s):
Object reference is invalid.
For your information I am using LabVIEW 7.1 and this error occurs whether I do justification, font properties, etc.  I am taking a table reference, getting the active cell, casting it to a string type and using a string property node to change the font.
Any ideas?
0
x9561 (148442)
10/18/2007 4:10:11 PM
comp.lang.labview 35213 articles. 1 followers. vasusachin24 (1) is leader. Post Follow

0 Replies
668 Views

Similar Articles

[PageSpeed] 52

Reply:

Similar Artilces:

Re: How to add records with 'Autonumber' property to a MS Access database using LabVIEW?
I applied the same approach as you guys have described, however my problem starts before I get to autonumber. I have an issue feeding column (data) from "DB tool list column VI" to "DB Tools insert data VI" .So when  I connect  column output of "DB tool list vi" to column input of "Insert data Vi " I get an error message "exception occurred in Microsoft OLE DB Provider for ODBC Drivers, [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.." However, when I don?t connect column between those two v...

Re: How to add records with 'Autonumber' property to a MS Access database using LabVIEW? #2
Hi Alex77, can you please post your vi? so that it will be easier to understand your problem. Any of the field has autogenerated values??? ...

Unable to install labview in the new mac using the 'labview CD for Power Mac'
I have got a 'Labview full development system for power macintosh'. I have to use labview for some application and so I tried installing labview in my imac using this CD. The CD gets ejected out by itself. I tried it in a Mac laptop. There it opened, but when I try to install it, it gave the following message: 'You can't open the application 'Install Labview' because the classic environment is no longer supported'. Please note that the macs that I used are Intel based. What is the cause of this problem? What is the solution?The version of the software is : 6.0Please do the needful.Thankyou,Pavithra Souriraj The version you are trying to install was apparently written for Mac OS 9 or earlier, hence the reference to the Classic environment. The Classic environment is an emulation of OS 9 under OS X. However, Apple did not start using Intel processors until several years after the introduction of OS X, so they (Apple) did not develop an OS 9 emulator which will run on Intel based Macs. You cannot run LV 6 on an Intel based Mac. This is an Apple issue, not a National Instruments issue. LV 6 runs fine under OS X on a PowerPC Mac, as do several other versions.You will either need to get an older Mac or a newer version of LV. I am not sure which is the earliest version which will run on an Intel Mac.LynnUsing LV on the Mac since version 1.2 Hello Pavithra, Thank you for contacting National Instruments.  Please look at this article for your ...

'''''''''''''The Running Update/Append Queries Using VBA code Ordeal'''''''''''''' #2
Hi, Thanks for ur help there HJ. I know how to do the tasks you specified there. I would like for the update query to use field values from some of the fields on the form (frmInvoices) such as InvoiceNumber, DateFrom, DateTo. My problem is that an append/update query can't find the values in the open Form (frmInvoices) when I specify them as; [Forms]![frmInvoices]![InvoiceNumber] a select query has no problem finding the field values on a form. please help. Aaron Hi Aaron, Could you post the entire code that you are having trouble with? Now it is not possible to see what goes wrong. HJ "Aaron" <aaron@rapid-motion.co.uk> wrote in message news:260d7f40.0408120245.2f3d01f8@posting.google.com... > Hi, > > Thanks for ur help there HJ. > > I know how to do the tasks you specified there. > > I would like for the update query to use field values from some of the > fields on the form (frmInvoices) such as InvoiceNumber, DateFrom, > DateTo. My problem is that an append/update query can't find the > values in the open Form (frmInvoices) when I specify them as; > > [Forms]![frmInvoices]![InvoiceNumber] > > a select query has no problem finding the field values on a form. > > please help. > > Aaron First off, if you are not always using all the parameters specified in your form, then you have to add parameters to your query on the fly. Also, you can't just do something like qdf.SQL = "SE...

Re: '^=' and '~='?
Duckhye, According to the doc ( http://xrl.us/befwjx ) they, and one other set of characters, and the mnemonic 'NE' all represent 'NOT EQUAL'. Art ------- On Wed, 11 Feb 2009 16:52:40 -0600, Duck-Hye Yang <dyang@CHAPINHALL.ORG> wrote: >Hello, >What is the difference between '^=' and '~='? > >Thanks, >Duckhye ...

How to add records with 'Autonumber' property to a MS Access database using LabVIEW?
I am trying to write to a MS Access database. Everything works fine as long as I add data to all records at the same time. The database I am using have two tables (just for testing) with a 'one-to-many' relationship between the two. They both have a PrimaryKey with the data type 'AutoNumber'. From what I understand those numbers should be automatically generated when new data is written to the DB. I can't get that to work with LabVIEW. I am using the function 'DB Tools Insert Data.vi'. According to the manual I should be OK with specifying the column I want to write...

Can I use LabVIEW to load data directly into system memory? The serial card I'm using isn't supported by NI nor does VISA recognize it. I'm using a Win32 function to read the data from the card
Can I use LabVIEW to load data directly into system memory from a VI? The serial card I'm using isn't supported by NI nor does VISA recognize it. I'm using a&nbsp;Call Library&nbsp;function to read the data from the card and now I want it to go directly to system memory. The data is being received at 1Mbps. &nbsp; Thanks 1.You will most likely crash your system trying to write meg's/sec of data to system memory. LabVIEW has it's own memory manager and manages data for you. If you getting data to LabVIEW, I hope for the processinfg purposes. You didn't menti...

Re: if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in ('','.') Any shorter ? #2
Igor, There are many ways to make it more concise, however the parsimony is likely to be achieved at the expense of clarity. For instance, the expressions length ( input (mm||dd||yy, $10.) ) > 2 length ( compress(mm||dd||yy, ' .') ) > 2 and like might be somewhat shorter than the original, but they will execute slower, and their intent is far less eminent. Since it appears that you are trying to validate the components of a date, maybe it is not a worthless idea to try the date informat conforming to the mask you are testing. Say if all the pieces are 2-digit, the expression input (mm||dd||yy, ?? mmddyy6.) will return a missing value for the case you are testing and also if any irregularities in the input value that prevent it from being interpreted as a valid date should be found. And if you want a note in the log to alert you about it, leave one of the question marks off. Kind regards, ================= Paul M. Dorfman Jacksonville, FL ================= >From: Igor Kurbeko <ikurbeko@ATHEROGENICS.COM> >Reply-To: Igor Kurbeko <ikurbeko@ATHEROGENICS.COM> >To: SAS-L@LISTSERV.UGA.EDU >Subject: if str_mo not in ('','.') and str_da not in ('','.') and str_yy > not in ('','.') Any shorter ? >Date: Wed, 22 Oct 2003 17:13:37 -0400 > >Hi, there. > > > >I'm just curious if it ever dawned on anybody how to abbreviate this >line : > >if ...

Any alternate solution to using Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' for mulit-plot color problem on PDA?
Hello, &nbsp; &nbsp;&nbsp;&nbsp; On a waveform chart, 4 signals need to be plotted based on the status of 4 boolean inputs. Eg. if the first boolean input is true, the first signal needs to be visible on the waveform chart; if the first boolean input is false, the first signal should not be visible on the waveform chart and so on. This can be done on LabVIEW desktop using the Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' - a sample VI "BundleSignals_Select_Desktop.vi" is attached for reference. &nbsp;&nbsp;&nbsp; But on PDA, since the Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' are not supported, some other method has to be used. I have done the selection/de-selection of these signals using 'Insert', 'Delete' array functions as shown in the attached VIs "BundleSignals_PDA.zip" which works, but the problem is that the colour of these signals do not work as desired when the selection/de-selection of these signals is done - It is required that the first signal should always appear in White color, the second signal should always appear in Red color, the third always in Green color &amp; the fourth always in Blue color. &nbsp;&nbsp;&nbsp; I hope i have made myself clear of the problem. Has anyone faced this problem before &amp; is there a solution? Note: Version of LabVIEW that we are using: LabVIEW 8.5 Professional Development System for...

Re: Using 'varargs' vs 'stdargs'
This is a multi-part message in MIME format. --------------040007030802060004000808 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Aaron and Andreas, I don't know anything about 'stdargs' either, but a key quesiton is whether it is just a change to the syntax of varargs handling or the way it is actually achieved (which I think for varargs was by passing a count of the number of args followed by the args themselves on the callstack, but I may be wrong - anyway it doesn't really matter, what matters is, has it change...

Re: if str_mo not in ('','.') and str_da not in ('','.') and str_ yy not in ('','.') Any shorter ? #4
Igor, Without robust error checking: %macro check ( vars , values , op = in /* not in */, con = and /* or */ ) ; %local i w ; %let i = 1 ; %let w = %scan(&vars,&i) ; %do %while ( %length ( &w ) > 0 ) ; %if &i > 1 %then &con ; &w &op &values %let i = %eval ( &i + 1 ) ; %let w = %scan(&vars,&i) ; %end ; %mend check ; option mprint ; data w ; retain x y z "a" r " " s t "a" a b 99 c . ; if %check( x y z , ('','.'), op = not in ) then put &qu...

Re: if str_mo not in ('','.') and str_da not in ('','.') and str_ yy not in ('','.') Any shorter ? #3
> From: Igor Kurbeko [mailto:ikurbeko@ATHEROGENICS.COM] > I'm just curious if it ever dawned on anybody > how to abbreviate this line : > > if str_mo not in ('','.') > and str_da not in ('','.') > and str_yy not in ('','.') %*in autoexec:; %Let Blank = Blank; %Let Invalid = Invalid; %*in aFormat; PROC Format; value $StrValu %*somevalues = 'ok'; '','.' = "&Blank." %* other = "&Invalid."; ; %*in Program; if put(Str_...

Using Labview 6.1 on Linux, the 'Current VI's Path' function...
Using Labview 6.1 on Linux, the 'Current VI's Path' function returns an incorrect and unuseable path. 'Current VI's Path' is returning my home director rather than the vi path and it has a back slash '/' at the end which means I can not append to it. Is this a bug? Hi Jack, I emailed you the my suggestions below "I tried running LabVIEW 6.1 on a Linux machine here running red hat 7.2 and I couldnt reproduce you issue. I got the full pathname '/home/login_name/untitled1.vi. I even tried LabVIEW 7 and that worked fine too. This maybe a silly questi...

'is not' or '!='
A newbie question to you; what is the difference between statements like: if x is not None: and if x != None: Without any context, which one should be preferred? IMHO, the latter is more readable. On 2014-08-18 21:35, ElChino wrote: > A newbie question to you; what is the difference between statements > like: > if x is not None: > and > if x != None: > > Without any context, which one should be preferred? > IMHO, the latter is more readable. > "x == y" tells you whether x and y refer to objects that are equal. "x is y" tells you whether x and y actually refer to the same object. In the case of singletons like None (there's only one None object), it's better to use "is". "ElChino" <elchino@cnn.cn>: > A newbie question to you; what is the difference between statements > like: > if x is not None: > and > if x != None: Do the following: take two $10 bills. Hold one bill in the left hand, hold the other bill in the right hand. Now, the bill in the left hand "is not" the bill in the right hand. However, the bill in the left hand "==" the bill in the right hand. > Without any context, which one should be preferred? > IMHO, the latter is more readable. In almost all cases, both tests would result in the same behavior. However, the "is not" test is conceptually the correct one since you want...

'^=' and '~='?
Hello, What is the difference between '^=' and '~='? Thanks, Duckhye ...

Re: "Hi,I'm having problems controlling the Agilent E4422B Signal Generator with Labview. When using the Labview driver functions such as initialize instrument I always get an Error -1074135040
Hi, Brooks. Attached please find the files containing all the information concerning my attempt to control the Agilent E4438C. Hope you can make sense of it and help me. &nbsp; Regards isaac nireport.txt: http://forums.ni.com/attachments/ni/170/191414/1/nireport.txt Capture.spy: http://forums.ni.com/attachments/ni/170/191414/2/Capture.spy CaptureSpy.doc: http://forums.ni.com/attachments/ni/170/191414/3/CaptureSpy.doc Hi, If this driver supports multiple instrument models, then you will probably have to set the model in the default settings in MAX. Regards Ray FarmerMessage Edited by...

Re: index and queries using '<' '>'
At 16:23 18/11/2004 +0100, Martijn van Oosterhout wrote: > The system seems to think that a scan is cheap because the table is so > small. The table currently contains just over 10000 elements. So 238 rows is a small part of it. > Have you ever ANALYZEd that table? Yes. That and reindex (in case of a problem). I have also tried ALTER TABLE ALTER COLUMN SET STATISTICS, but without improvement. > Also, EXPLAIN ANALYZE gives a much better idea of what is going on... You mean ANALYZE VERBOSE ? Since the table is still growing, and the amount of rows in the reply of ...

Why use '==' instead of '==='?
I have noticed that there are some on the news group here who prefer the use of '==' when it is known [by the coder] that both sides of the equation are strings. Example from one of David Mark's recent posts: >>if ( typeof selector === "string" ) { > > One equal sign too many, requiring the reader to pause and ponder what > the author's intentions were. Are they ignorant of the fact that the > resultof a typeof operation is a string (as is a string literal). I find it it just the reverse. I know exactly what the authors intent was ...

Re: '^=' and '~='? #9
On Thu, 12 Feb 2009 08:58:21 -0600, Joe Matise <snoopy369@GMAIL.COM> wrote: >Yeah, <> works in PROC SQL, wasn't sure about elsewhere... thanks for >confirmation! Didn't know about the MAX operator, that's interesting. .... hi, In proc SQL, I do get a note saying that: NOTE: The "<>" operator is interpreted as "not equals". In general, i find that we have different sas expressions, mostly identical one another. Still, there remain definite differences among all of these expressions: (1) data step expressions (2) where statement expressions (3) sql-expressions used in proc sql (4) macro expressions this is a less than ideal situation :-) but this may be an inevitable consequence of sas' being around for a long time. cheers, chang ...

Re: '^=' and '~='? #2
No difference that I know of ... SAS has all sorts of things you can use as operators. LT,< LE,<= ne, ^=, ~=, <> in some contexts at least eq, = <<< these actually DO have a difference or two, particularly as relates to assignment I don't recall where the full list is, but http://support.sas.com/onlinedoc/913/getDoc/en/lrdict.hlp/a000202951.htm#a000290128has the list of them usable in WHERE statements (which, IIRC, is slightly greater than that of normal code, as it allows for SQL syntax in ways the rest of SAS does not). -Joe On Wed, Feb 11, 2009 at 4:52 PM, Duck-Hye Yang <dyang@chapinhall.org> wrote: > Hello, > What is the difference between '^=' and '~='? > > Thanks, > Duckhye > ...

Re: '^=' and '~='? #7
SAS was originally based on PL/1, and having programmed in PL/1,=20 I'm inclined to use the PL/1 symbol for not equals, which is the ^=3D (actually it is not the caret on IBM mainframes, but the not symbol which looks like L on its side). =20 -Mary ----- Original Message -----=20 From: ./ ADD NAME=3DData _null_;=20 To: SAS-L@LISTSERV.UGA.EDU=20 Sent: Thursday, February 12, 2009 9:09 AM Subject: Re: '^=3D' and '~=3D'? Maybe good reason to use mnemonic equivalents. 882 data _null_; 883 a =3D .v MIN .z; 884 b =3D .v MAX .z; 885 ax =3D .v >< .z; 886 bx =3D .v <> .z; NOTE: The "<>" operator is interpreted as "MAX". 887 c =3D .A NE .A; 888 put (_all_)(=3D);; 889 run; a=3DV b=3DZ ax=3DV bx=3DZ c=3D0 ...

Re: '^=' and '~='? #5
Sorry, I posted under the wrong subject. My friend asked me to post this, she got an error message in processing the XML file. I don't have much experience in working with XML file. Any help is appreciated! On Thu, Feb 12, 2009 at 10:29 AM, Akshaya Nathilvar < akshaya.nathilvar@gmail.com> wrote: > 32 libname erap 'T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December 2008'; > NOTE: Libref ERAP was successfully assigned as follows: > Engine: V9 > Physical Name: T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December 2008 > 33 options nodate nonumber formdlim='-'; > 34 /* Program: E-RAP Load XML to SAS with map v2.sas*/ > 35 > /************************************************************************* > 36 Update path and file name below. > 37 > **************************************************************************/ > 38 %let data_path = T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December > 2008\Raw XML Data; > 39 %let input_file = 035151_12232008.xml; > 40 > **************************************************************************; > 41 > 42 filename xml_lib "&data_path.\&input_file."; > 43 filename SXLEMAP "&data_path.\xml_map_v2.map"; > 44 libname xml_lib xml xmlmap=SXLEMAP access=READONLY; > NOTE: Libref XML_LIB was successfully assigned as follows: > Engine: XML > Physical Name: XML_LIB &g...

Re: '^=' and '~='? #8
32 libname erap 'T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December 2008'; NOTE: Libref ERAP was successfully assigned as follows: Engine: V9 Physical Name: T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December 2008 33 options nodate nonumber formdlim='-'; 34 /* Program: E-RAP Load XML to SAS with map v2.sas*/ 35 /************************************************************************* 36 Update path and file name below. 37 **************************************************************************/ 38 %let data_path = T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December 2008\Raw XML Data; 39 %let input_file = 035151_12232008.xml; 40 **************************************************************************; 41 42 filename xml_lib "&data_path.\&input_file."; 43 filename SXLEMAP "&data_path.\xml_map_v2.map"; 44 libname xml_lib xml xmlmap=SXLEMAP access=READONLY; NOTE: Libref XML_LIB was successfully assigned as follows: Engine: XML Physical Name: XML_LIB 45 libname erap "&data_path"; NOTE: Libref ERAP was successfully assigned as follows: Engine: V9 Physical Name: T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December 2008\Raw XML Data 46 * Read XML file into SAS data set; 47 data erap.Sabino; 48 set xml_lib.E_rap_episode_record; 49 run; ERROR: There is an illegal character in the entity name. encountered during XMLInput pa...

Re: '^=' and '~='? #3
On Wed, 11 Feb 2009 17:03:27 -0600, Joe Matise <snoopy369@GMAIL.COM> wrote: >No difference that I know of ... SAS has all sorts of things you can use as >operators. > >LT,< >LE,<= >ne, ^=, ~=, <> in some contexts at least hi, at least in the data step, <>, does not mean not equal, it is the MAX operator, returning the larger of the two. Similarly there is MIN operator, ><. in MS Visual Basic, though, "<>" means "not equal." There are three symbols used as the logical operators OR and another three for logical NOT, but the availability of these symbols are platform dependent. Read about 9.2 (data step) language Operators at http://tinyurl.com/4w5hen or http://support.sas.com/documentation/cdl/en/lrcon/59522/HTML/default/a00078 0367.htm hth. Cheers, Chang ...

Web resources about - Re: is there a way to set table entries to 'center justify' using property nodes in LabVIEW - comp.lang.labview

Resources last updated: 3/19/2016 1:17:14 PM