How to change the baudrate for NI-USB 8473
There is a problem about my NI-USB 8473, High speed CAN device.
I have a excuted file to operate this CAN, programmed by CVI, but i dont have the source code. It works all fine when i want to change the baudrate.
But i have to develop a new prj for this device, i use the function ncConfig to set the parameters of the can. I use a easy way that i get the CAN baudrate from the uir, a ring control.
But things happened that the baudrate doesnt change at all. I dont know what is going on, is there any other functions can set the baudrate? And when i use ncConfig, the parameters are totally cool, without mistake.
And anther question, how to asign CAN dynamically, i mean how could i creat any new CAN control panel for a new can as i want, because i have one to control one CAN, but now i need to control several undetermined number of CANs, should i creat a new panel for each of them or just modify the CAN names for the orginal one?
You can use the structure of labview examples for your CVI program. I had started NI Spy parallel when using labview example - so it shows you the functions you can use in same way in CVI - hope it helps. You can attach here your program because i not known what example (*.exe) do you use for CVI ?
For creating CVI source project you could use the links i sent you before:
http://forums.ni.com/ni/board/message?board.id=30&message.id=3640&requireLogin=False
http://digital.ni.com/public.nsf/allkb/F997E364CFAA63F6862573540064C028?OpenDocument
http://digital.ni.com/public.nsf/allkb/E1A44077DA6C819186257288006B76D7
Similar Messages
-
I cannot find how to change the language for labels in a quiz
I cannot find how to change the language for labels in a quiz
You have to be aware that this will only change labels if you edit before adding quiz slides: Preferences, Quiz, Default Labels. You will have to edit the labels, choosing another language will not change them automatically.
-
How to change the Icon for a JFileChooser ?
Has anyone figured out how to change the icon for an instance of JFileChooser from the coffee cup to something else?
I'm on 1.4
Thanks,
KenNever mind. I figured it out.
You have to use an instance of JFrame in the call to showXxxxDialog(Component c). Set the icon of the JFrame to what you want the JFileChooser's icon to be. -
How to change the color for HTML words in JEditorPane?
Hi Sir,
In the JTextPane , we could change the word's color by using:
Style style = doc.addStyle("test",null);
StyleConstants.setForeground(style, Color.red);
doc.setCharacterAttributes(10,20,syle,true);
we can change the text into red color,which range is from 10 to 30.
But how to change the color for HTML words in JEditorPane?Hi,
you can use an AttributeSet to apply the foreground color. Let's say, doc is a HTMLDocument, then SimpleAttributeSet set = new SimpleAttributeSet();
doc.getStyleSheet().addCSSAttribute(set, CSS.Attribute.COLOR, "#0D0D0D"); would apply a color to a given AttributeSet. The AttributeSet with your color then can be applied to a selected range of text in a JEditorPane by /**
* set the attributes for a given editor. If a range of
* text is selected, the attributes are applied to the selection.
* If nothing is selected, the input attributes of the given
* editor are set thus applying the given attributes to future
* inputs.
* @param editor the editor pane to apply the attributes to
* @param a the set of attributes to apply
public void applyAttributes(JEditorPane editor, AttributeSet a) {
((HTMLDocument) editor.getDocument()).getStyleSheet().addCSSAttribute(set, CSS.Attribute.COLOR, "#0D0D0D");
editor.requestFocus();
int start = editor.getSelectionStart();
int end = editor.getSelectionEnd();
if(end != start) {
doc.setCharacterAttributes(start, end - start, a, false);
else {
MutableAttributeSet inputAttributes =
((SHTMLEditorKit) editor.getEditorKit()).getInputAttributes();
inputAttributes.addAttributes(a);
} Ulrich -
How to change the Schedule For settings for an object
Hi All,
do you know how to change with BO Enterprise SDK Java the schedule settings for an object?
I mean these settings that can be changed manually In the Objects management area of the CMC, selecting a report object, Schedule tab, Schedule For link:
- Schedule only for myself
- Schedule for specified users and user groups
Rest of settings can be managed with ISchedulingInfo, but I don´t know how to change the "Schedule for" property.
Should I use other SDK?
We have Webi Documents, BOXIE R2 SP2
thanks,
regards,Hi,
I think I´ve solved it,
we can use
ISchedulingInfo.getMultiPassObjects()
that returns a java.util.Set of user/usergroup IDs on the schedule for multipass.
and then we can work with this Set (adding or removing users and groups).
Setting manually to "Schedule only for myself" in the CMC is the same that removing all the elements from the getMultiPassObjects() set.
thanks, -
How I change the icon for iTunes songs?
When I drag iTunes songs onto my desktop the icon is white with a gray iTunes icon. How can change this icon for all of my iTunes songs?
Thanks Patrick. I used Control-Click on the actual audio file on my desktop opened the Show View Options menu and turned off the icon preview option. That changed my icons from gray with a white background to red with a white background which is exactly what I wanted. You pointed me in the right direction. Appreciate it.
-
How to change the icon for print dialog?
Hello,
I have a JTable, and with the print() method, I'm able to bring up the Print dialog and successfully print the contents of the table. Example:
myTable.print( JTable.PrintMode.FIT_WIDTH, myHeaderFormat, myFooterFormat );This works great, but one small detail I'd like to change is the icon in the top-left corner of the dialog. The icon is currently the default Java coffee cup icon, while the rest of my application uses my custom icon. I couldn't find any documentation in the API or tutorials that Java has listed which shows how to change the icon, so I'm not even sure if it's possible (but why shouldn't it be?).
My question is this: Is it possible to change the default icon in the print dialog? Or do I have to either make my own print dialog somehow, or use a third-party print dialog?
Thankstjacobs01: Appreciate the assistance (despite your sass). I've already searched the API, tutorials, and this forum. I'm already well aware of the setIconImage() method for JFrame -- after all, that's how I set the icon for my other frames as I previously mentioned. However, I want to set the icon for the print dialog called from the print() method of JTable.
How would I use setIconImage() for the print() method of JTable? The print() method returns a boolean value, not a JFrame, so I'm just not sure how to implement what you're saying.
Thanks -
How to change the width for adf shuttle without modify the skin file
Dear Professionals
I haven an ADF Shuttle component in my jsp screen , How can i change the width for the two boxes without modify the skin files.(I know i can do that by skin but what i want to change one shuttle just in one screen not change all shuttles on other screens).
Regards
Wish79Okay, I didnt try with the trinidad selectmanyshuttle, but this worked for me on the af:selectmanyshuttle..
<af:selectManyShuttle label="Label 1" styleClass="mycustcss">
<af:selectItem label="Label1" value="value1"/>
<af:selectItem label="Label2" value="value2"/>
</af:selectManyShuttle>
<af:selectManyShuttle label="Label 1">
<af:selectItem label="Label1" value="value1"/>
<af:selectItem label="Label2" value="value2"/>
</af:selectManyShuttle> And in my css file, I have
af|selectManyShuttle.mycustcss::content { width: 800.0px;}
The first selectManyShuttle came up very wide and the second one came up in the default width..
Julian. -
How to change the width for af:selectManyShuttle by skins
i need to change the width for selectManyShuttle by skin i can do that by change the width for .AFFieldText but this method change the all select* and textfiled width,so i just want to change the width for selectManyShuttle component.
and i hope to know how to change the header color for selectManyShuttle ,the default color for it is green.Thanks ,It is working
Could you please tell me how to change the header text color for af:selectManyShuttle
Regards
Wish79 -
How to change the icon for 'windows group' in Java 1.6 [Windows XP] ?
Hello,
I was wondering if there is a possibility to change the icon for 'windows group' in Java 1.6...
I'm using Windows XP SP2. Now the windows from my Java 1.6 application are grouped with the standard Sun icon [screen below] on the group.
http://img382.imageshack.us/img382/8995/iconbl1.png
I would like to change the icon for my own. Is there a way to do that ?
Please help.Whichever icon I use for the main frame (I tried few), after grouping the main frame and other sub-frames the icon is changed to standard 'Java Sun' icon as you can see in the screenshot from my first post. The problem occurs only when frames are grouped, when the are separated in the task bar their titles and icons are ok...
So how can I change the icon/title for the group only (for Java 1.6 in Windows XP) ? -
How to change the icon for a shortcut on the desktop
I created a shortcut on the Desktop (dragging a safari url-icon to the desktop) but the icon showing is a safari icon.
The website has a specific icon, as displayed as the first item (icon) on the url bar in front of the website-URL.
I located the specific icon on the website (favicon.ico), opened it and copied the icon (copy paste).
Then I opened the properties screen for my shortcut (at the Desktop) (control click on link) .
Now I am supposed to copy the new icon (from my Clipboard) into the properties of the Desktop URL, but how do I do that?You can change the favicon for a folder but not a specific Safari url.
Click a clear space on your desktop then go to the Finder menu and click File > New Folder
Move Safari url shortcuts to that folder.
Then copy and paste the icon for the folder. -
How to change the delay for a specific message
Hi,
I need to change the delay for an specific message, So how can I consume message by JMSCorrelationID which is enqueued with delay?
I am using Java and Oracle.JMS classes.
This a sample code of the deque method
public BasicAQData dequeue(int insId)
try
String usr = dbUtil.getCurrentUser();
AQjmsStreamMessage stream_message = null;
int id = 0;
int priority = 0;
int destino = 0;
String selector = null;
String instanceId = String.valueOf(insId);
BasicAQData dd = new BasicAQData();
queue = q_sess.getQueue(usr, queue_name);
selector = "JMSCorrelationID = '"+instanceId+"'";
receptor = q_sess.createReceiver(queue, selector);
stream_message = (AQjmsStreamMessage)receptor.receive(sleeptime);
if (stream_message == null) return null;
id = stream_message.readInt();
priority = stream_message.readInt();
destino = stream_message.readInt();
stream_message.clearBody();
dd.setId(id);
dd.setPriority(priority);
dd.setDestino(destino);
return dd;
It returns the desired message if that is available; however it returns null if the message was enqueued with delay and isn4t still available.
Thanks in advance.Hi Glenn,
Messages enqueued with a delay can be dequeued by specifying message id. In your example,
you can dequeue the message with message_id, change the delay and enqueue the message again.
Thanks,
Brajesh. -
How to change the server for the existing project in netbeans5.5?
we r using netbeans5.5 with visual we pack.
In netbeans for the project properties>run it is not giving in the list box it is only showing sun java system applicationn server 9.
the remaining servers like tomcat and jboss which we have it is not showing .How to get the remaining options?
please let me if any of you knowDo not cross post same questino across different forums.
Changing the SID for existing SAP systems
Markus -
How to change the color for the af:messages by skins ?
Hello All
How i can change the text color for the af:messages by skins,i want change the color for the messages paragraph not for message header
Because i know how to change the message header color text by
.AFErrorTextForeground:alias
color: Red;
Error:
1. You Must Select etc...
2. Hello All
i want to change the color nor for the header (Error) ,i want change it for the messages 1 and 2 and its text.
Regards
Mohammad Weshah
)Hi Frank
Unfortunately it dose not work.
Any another options for this issue .
Regards
Mohd.Weshah -
my siri seems to be a bit confused as he thinks im in america but im in northern ireland is ther anyone who knows how to change the settings as i cant find them alsao he doesnt understand a word im saying
To use another iCloud backup, you have to erase all content and settings or restore it. Either gets you to the backup/setup page.
http://support.apple.com/kb/HT1766
Maybe you are looking for
-
How to add a library dynamically in xcode
Hi friends, How do I add a library in xcode project? Thanks
-
In LR 5.5 (same in previous versions) the RGB values in the histogram are shown in percent (relativ) values. I prefere to see the absolute values, but I can`t find any way to switch. Maybe this option is intentional disabled, because LR works in 16-B
-
Material Classification Upload using LSMW
Hi SAP Experts, We are thinking of using LSMW as a means to upload our material master data for the classification view. How is this done? Can we use LSMW to upload materials with many class assignments with multiple characteristics? Ex. Material A i
-
Users having issue filling out form
It appears that when you first access the below form on our website, there can be a delay in the fillable boxes appearing within the form but once you move the mouse they will appear. So what is happening is that applicants are printing the applicat
-
Can't get iphone to connect to itunes...went through all 7 steps on this site....any advice