Showing posts with label a. Show all posts
Showing posts with label a. Show all posts
Monday, March 2, 2015
Where can i find a free hosted Team Foundation Server Service
I was looking for a free hosted service of Microsoft Team Foundation Server to have version control for my Visual Studio software projects.
I found out, that Microsoft itself offers a free plan for up to 5 users under: http://tfs.visualstudio.com/
Read more »
I found out, that Microsoft itself offers a free plan for up to 5 users under: http://tfs.visualstudio.com/
What it (currently) includes :
· Up to 5 users
· Unlimited number of projects
· Version control (TFVC or Git)
· Work item tracking
· Agile planning tools
· Virtual team rooms
· Build (still in preview)
· Test management (still in preview)
Sunday, March 1, 2015
How to exchange data with a running SIMULINK model from MATLAB workspace
I have a SIMULINK model to filter and process sensor data. I wanted to access some of model data from MATLAB workspace while the model was running.
How-i-fixed-it:
In my simulink model i added a non-blocking UDP receive block, a triggered subsystem ad a UDP send block.
The Status output of the UDP receive block triggers the subsystem which contains the UDP send block and received as Input the model data i want to send to the workspace.
In the workspace i create a UDP object to communicate with the UDP blocks in the SIMULINK model.
When the model is running, i send just a single byte on UDP from Workspace to the UDP Receive to Trigger the send. Next step is to read the desired number of bytes from the udp port in the workspace.
I found out, that the timing of this solution is not very performant. When the model is very busy (or at least the CPU is), then there can be significant delays in the model sending out the data on UDP. I think this does not work for real-time Systems, but its a simple solution to get it working.
Read more »
How-i-fixed-it:
In my simulink model i added a non-blocking UDP receive block, a triggered subsystem ad a UDP send block.
The Status output of the UDP receive block triggers the subsystem which contains the UDP send block and received as Input the model data i want to send to the workspace.
In the workspace i create a UDP object to communicate with the UDP blocks in the SIMULINK model.
When the model is running, i send just a single byte on UDP from Workspace to the UDP Receive to Trigger the send. Next step is to read the desired number of bytes from the udp port in the workspace.
I found out, that the timing of this solution is not very performant. When the model is very busy (or at least the CPU is), then there can be significant delays in the model sending out the data on UDP. I think this does not work for real-time Systems, but its a simple solution to get it working.
How to change the name of a network connection in Windows 7
Windows 7 automatically names network connections like Connection 1 etc. I want to assign a name to the network connection myself, but theres no context menu or link in the network and share center. How i fixed it: Click on the network type symbol next to the name of the network at "Active Networks" in the network and share center. A dialog box opens to allow entering a name for the network and to choose the symbol to be displayed. Here are the screenshots for my german OS:
Click on the network symbol to open the dialog:
Read more »


How to create a hyperlink URL to open a specific page in a PDF file
I was wondering, how i can link to a specific page in a PDF file openend in the browser.
How-I-fixed it:
Heres the AdobeManual on PDF opening Parameters for command line and URL:
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf
Specifying parameters in a URL
Commands are not case sensitive except for the value of a named destination. There can be no spaces in the URL.
●If you turn bookmarks off using a URL parameter when a document had previously been saved with bookmarks on, the bookmark scrollbars are displayed at first, and only disappear once Acrobat obtains enough streamed information to render the full page.
Read more »
How-I-fixed it:
Heres the AdobeManual on PDF opening Parameters for command line and URL:
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf
You can specify multiple parameters in a single URL. Separate each parameter with either an ampersand (&) or a pound (#) character. Actions are processed and executed from left to right as they appear in the URL.
Because all specified actions are executed, it is possible that later actions will override the effects of previous actions, so it is important to use the correct order. For example, page actions should appear before zoom Actions.Commands are not case sensitive except for the value of a named destination. There can be no spaces in the URL.
URL examples
http://example.org/doc.pdf#Chapter6
http://example.org/doc.pdf#page=3
http://example.org/doc.pdf#page=3&zoom=200,250,100
http://example.org/doc.pdf#zoom=50
http://example.org/doc.pdf#page=72&view=fitH,100
http://example.org/doc.pdf#pagemode=none
http://example.org/doc.pdf#pagemode=bookmarks&page=2
http://example.org/doc.pdf#page=3&pagemode=thumbs
http://example.org/doc.pdf#collab=DAVFDF@http://review_server/Collab/user1
http://example.org/doc.pdf#page=1&comment=452fde0e-fd22-457c-84aa-2cf5bed5a349
http://example.org/doc.pdf#fdf=http://example.org/doc.fdf
URL limitations
●Only one digit following a decimal point is retained for float values.
●Individual parameters, together with their values (separated by & or #), can be no greater then 32 characters in length.
●You cannot use the reserved characters =, #, and &. There is no way to escape these special characters.
●If you turn bookmarks off using a URL parameter when a document had previously been saved with bookmarks on, the bookmark scrollbars are displayed at first, and only disappear once Acrobat obtains enough streamed information to render the full page.
How to have different local web config settings for a Visual Studio ASP NET C Web TFS Project
Today we started an ASP.NET C# Project under VisualStudio 2012 using Team Foundation Server. We ran into the problem that we need to store some local path settings in the web.config file, but they are different on every developers computer.
How-I-fixed-it:
The solution is, to split the web.config up into several files and just reference the files using the configSource="sectionName.config" Attribute in the corresponding section in the web.config. Dont add these local files to the project, to not get them overwritten by each other.
Heres a sample:
web.config:
<applicationSettings>
<KCM.Properties.Settings configSource="KCM.Properties.Settings.config" />
</applicationSettings>
KCM.Properties.Settings.config:
xml version="1.0" encoding="utf-8" ?>
<KCM.Properties.Settings>
<setting name="DataStoragePath" serializeAs="String">
<value>D:inetpubftproot</value>
</setting>
</KCM.Properties.Settings>
Here i found the right information to get the solution:
Read more »
How-I-fixed-it:
The solution is, to split the web.config up into several files and just reference the files using the configSource="sectionName.config" Attribute in the corresponding section in the web.config. Dont add these local files to the project, to not get them overwritten by each other.
Heres a sample:
web.config:
<applicationSettings>
<KCM.Properties.Settings configSource="KCM.Properties.Settings.config" />
</applicationSettings>
KCM.Properties.Settings.config:
xml version="1.0" encoding="utf-8" ?>
<KCM.Properties.Settings>
<setting name="DataStoragePath" serializeAs="String">
<value>D:inetpubftproot</value>
</setting>
</KCM.Properties.Settings>
Here i found the right information to get the solution:
http://code-inside.de/blog/2009/11/03/howto-eine-eigene-configsection-schreiben-custom-configsections/
http://blog.andreloker.de/post/2008/06/16/Keep-your-config-clean-with-external-config-files.aspx
http://www.tomot.de/en-us/article/5/asp.net/how-to-use-web.config-transforms-to-replace-appsettings-and-connectionstrings
https://devio.wordpress.com/2013/04/24/handling-web-config-variants-in-source-control-based-solutions/
Saturday, February 28, 2015
How can i change move re locate the local temp folder of Microsoft OneDrive Skydrive to a different location
I wanted to move the local temp folder of OneDrive to a different harddrive on my computer.
How-I-fixed-it:
I found the right hints here: http://answers.microsoft.com/en-us/onedrive/wiki/sdoptions-sdfileset/change-the-onedrive-folder-location/147dade2-830b-46ee-bf7e-36a8eab9446a
Read more »
How-I-fixed-it:
I found the right hints here: http://answers.microsoft.com/en-us/onedrive/wiki/sdoptions-sdfileset/change-the-onedrive-folder-location/147dade2-830b-46ee-bf7e-36a8eab9446a
Change the OneDrive Folder Location
Technical Level : Basic
Summary
Learn how to change the OneDrive folder location. This is useful if you have a limited storage capacity main drive but a separate storage drive and you want your OneDrive content synced to the separate drive. This is not for OneDrive for Business.
Details
Many people use two separate drives on their computers: a main drive like an SSD to run the operating system and other programs, and a regular hard drive to store the bulk of their content. OneDrive defaults to the C:UserOneDrive location, however you can change it wherever you want.
Change the OneDrive Location in Windows 8 and Previous
To change the OneDrive folder location in Windows 8 and previous versions, you have unlink OneDrive from your account and then repeat the setup process:- Right-click on the OneDrive icon in the notification area and then select Settings
- Select "Settings" and then select "Unlink OneDrive"
- Follow the setup process again and ensure to select the new drive or location to have OneDrive sync to; you must wait for your files to download again to the new location
Change the OneDrive Location in Windows 8.1
To change the OneDrive folder location in Windows 8.1, you can simply change the location directly through the Properties menu of the OneDrive folder:- Open File Explorer, right-click on the OneDrive folder in the navigation pane (left-hand side), and then select Properties
- Click the "Location" tab and then select "Move"
- Select the location where you want OneDrive to sync to and then click OK
Post XML HTML Sourcecode inside a Blog
If you need to post HTML / XML inside a Blog-Post, see this great Link:
http://cherupally.blogspot.com/2009/05/how-to-post-html-code-in-blogspot.html
Read more »
http://cherupally.blogspot.com/2009/05/how-to-post-html-code-in-blogspot.html
Installing Sound Drivers for Windows 8 1 on a HP Pavilion P7 1258
I just upgraded my HP Pavilion P7-1258 Desktop PC to Windows 8.1 and after that I didnt have any sound.
When I tried to install the IDT High Definition Audio Drivers for Windows 8 from the HP website , I got an error about having the wrong operating system because its checking for Window 8.0 and not 8.1.
The trick to getting around this is to let SP59424.exe expand into the Temp folder (and then leave the installer running so that the temp files dont get deleted) and then run the actual install from there.
So go to %temp% and look for the newest folder in there.
Then inside that folder you will find a src folder and inside that should be a setup file, run this and you will be golden.

Here is information about the driver Im using:
Read more »
When I tried to install the IDT High Definition Audio Drivers for Windows 8 from the HP website , I got an error about having the wrong operating system because its checking for Window 8.0 and not 8.1.
The trick to getting around this is to let SP59424.exe expand into the Temp folder (and then leave the installer running so that the temp files dont get deleted) and then run the actual install from there.
So go to %temp% and look for the newest folder in there.
Then inside that folder you will find a src folder and inside that should be a setup file, run this and you will be golden.

Here is information about the driver Im using:
Download from HP: SP59424.exe
Title: IDT High Definition Audio Driver
Version: 6.10.6418.0
Category: Driver - Audio
Operating System:
Microsoft Windows 8 (64-bit)
Subscribe to:
Posts (Atom)